From 38abac62065172c00722dca10e7d3fc3049afd72 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 3 Sep 2021 16:07:48 +0930 Subject: [PATCH] BOLT 3: add a missing Otherwise, don't SHOULD "be". (#907) Signed-off-by: Rusty Russell --- 03-transactions.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/03-transactions.md b/03-transactions.md index d1bb2f396..29ce25552 100644 --- a/03-transactions.md +++ b/03-transactions.md @@ -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: