1
0
Fork 0
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:
Rusty Russell 2021-09-03 16:07:48 +09:30 committed by GitHub
parent 498f104fd3
commit 38abac6206
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: