mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
doc: update BOLT quotes (to include links for anchor outputs).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user