mirror of
https://github.com/lightning/bolts.git
synced 2025-02-20 13:34:43 +01:00
BOLT 3: add a missing Otherwise, don't SHOULD "be". (#907)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
498f104fd3
commit
38abac6206
1 changed files with 4 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue