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

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