Skip to content

Commit

Permalink
BOLT 3: add a missing Otherwise, don't SHOULD "be". (#907)
Browse files Browse the repository at this point in the history
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
  • Loading branch information
rustyrussell committed Sep 3, 2021
1 parent 498f104 commit 38abac6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions 03-transactions.md
Expand Up @@ -421,14 +421,14 @@ Note the reference to the "base fee" for a commitment transaction in the require

The fee for an HTLC-timeout transaction:
- If `option_anchors_zero_fee_htlc_tx` applies:
1. MUST BE 0.
- Otherwise, MUST BE calculated to match:
1. MUST be 0.
- Otherwise, MUST be calculated to match:
1. Multiply `feerate_per_kw` by 663 (666 if `option_anchor_outputs` applies) and divide by 1000 (rounding down).

The fee for an HTLC-success transaction:
- If `option_anchors_zero_fee_htlc_tx` applies:
1. MUST BE 0.
- MUST BE calculated to match:
1. MUST be 0.
- Otherwise, MUST be calculated to match:
1. Multiply `feerate_per_kw` by 703 (706 if `option_anchor_outputs` applies) and divide by 1000 (rounding down).

The base fee for a commitment transaction:
Expand Down

0 comments on commit 38abac6

Please sign in to comment.