Skip to content

Commit

Permalink
doc: update BOLT quotes (to include links for anchor outputs).
Browse files Browse the repository at this point in the history
Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell committed Feb 22, 2021
1 parent 535f647 commit 628b2af
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ CCANDIR := ccan

# Where we keep the BOLT RFCs
BOLTDIR := ../lightning-rfc/
BOLTVERSION := 920e51986d654b78d1ec2afc18152c9986f52a9d
BOLTVERSION := b80f8a719406b70f67e4cf7d034e8cd331850173

-include config.vars

Expand Down
4 changes: 2 additions & 2 deletions channeld/commit_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -302,9 +302,9 @@ struct bitcoin_tx *commit_tx(const tal_t *ctx,
*
* 8. If `option_anchor_outputs` applies to the commitment transaction:
* * if `to_local` exists or there are untrimmed HTLCs, add a
* `to_local_anchor` output
* [`to_local_anchor` output]...
* * if `to_remote` exists or there are untrimmed HTLCs, add a
* `to_remote_anchor` output
* [`to_remote_anchor` output]
*/
if (option_anchor_outputs) {
if (to_local || untrimmed != 0) {
Expand Down
4 changes: 2 additions & 2 deletions common/initial_commit_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,9 @@ struct bitcoin_tx *initial_commit_tx(const tal_t *ctx,
/* BOLT #3:
* 8. If `option_anchor_outputs` applies to the commitment transaction:
* * if `to_local` exists or there are untrimmed HTLCs, add a
* `to_local_anchor` output
* [`to_local_anchor` output]...
* * if `to_remote` exists or there are untrimmed HTLCs, add a
* `to_remote_anchor` output
* [`to_remote_anchor` output]
*/
if (option_anchor_outputs) {
if (to_local || untrimmed != 0) {
Expand Down

0 comments on commit 628b2af

Please sign in to comment.