File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -121,8 +121,13 @@ const MULTISIG_SCRIPT_SIZE: u64 = 1 + // OP_2
121121 bitcoin:: secp256k1:: constants:: PUBLIC_KEY_SIZE as u64 + // pubkey2
122122 1 + // OP_2
123123 1 ; // OP_CHECKMULTISIG
124- /// The weight of a funding transaction input (2-of-2 P2WSH)
125- /// See https://github.com/lightning/bolts/blob/master/03-transactions.md#expected-weight-of-the-commitment-transaction
124+
125+ /// The weight of a funding transaction input (2-of-2 P2WSH).
126+ ///
127+ /// Unlike in the [spec], 72 WU is used for the max signature size since 73 WU signatures are
128+ /// non-standard.
129+ ///
130+ /// [spec]: https://github.com/lightning/bolts/blob/master/03-transactions.md#expected-weight-of-the-commitment-transaction
126131pub const FUNDING_TRANSACTION_WITNESS_WEIGHT : u64 = 1 + // number_of_witness_elements
127132 1 + // nil_len
128133 1 + // sig len
You can’t perform that action at this time.
0 commit comments