Skip to content

Commit c83f426

Browse files
committed
doc: update BOLT quotes (to include preimage leakage).
Signed-off-by: Rusty Russell <[email protected]>
1 parent e1cbfae commit c83f426

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CCANDIR := ccan
2424

2525
# Where we keep the BOLT RFCs
2626
BOLTDIR := ../lightning-rfc/
27-
BOLTVERSION := 01f29bf9feca66476423676365187e2175a3934b
27+
BOLTVERSION := dcf6b0f359c230ef140e336011890c96eea576fa
2828

2929
-include config.vars
3030

lightningd/onchain_control.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ static void onchaind_tell_fulfill(struct channel *channel)
3737
* for which it has committed to an outgoing HTLC:
3838
* - MUST *resolve* the output by spending it, using the
3939
* HTLC-success transaction.
40+
* - MUST NOT reveal its own preimage when it's not the final recipient...
4041
* - MUST resolve the output of that HTLC-success transaction.
4142
* - otherwise:
4243
* - if the *remote node* is NOT irrevocably committed to

onchaind/onchaind.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2009,6 +2009,7 @@ static void tx_new_depth(struct tracked_output **outs,
20092009
* outgoing HTLC:
20102010
* - MUST *resolve* the output by spending it, using the HTLC-success
20112011
* transaction.
2012+
* - MUST NOT reveal its own preimage when it's not the final recipient...
20122013
* - MUST resolve the output of that HTLC-success transaction.
20132014
* - otherwise:
20142015
* - if the *remote node* is NOT irrevocably committed to the HTLC:

0 commit comments

Comments
 (0)