doc: update BOLT quotes (to include links for anchor outputs).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2021-02-22 12:28:26 +10:30
parent 1a859ff583
commit 45ce7380af
3 changed files with 5 additions and 5 deletions

View File

@ -24,7 +24,7 @@ CCANDIR := ccan
# Where we keep the BOLT RFCs
BOLTDIR := ../lightning-rfc/
BOLTVERSION := 920e51986d654b78d1ec2afc18152c9986f52a9d
BOLTVERSION := b80f8a719406b70f67e4cf7d034e8cd331850173
-include config.vars

View File

@ -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) {

View File

@ -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) {