mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-15 11:59:16 +01:00
df: remove minimum witness weight for input calculations
We can't know how much taproot etc inputs weight will be, so we just make sure that a peer covers the known bytes, at least.
This commit is contained in:
parent
c0cc285a0f
commit
911700ff94
1 changed files with 0 additions and 5 deletions
|
@ -603,11 +603,6 @@ static size_t psbt_input_weight(struct wally_psbt *psbt,
|
|||
(psbt->inputs[in].redeem_script_len +
|
||||
(varint_t) varint_size(psbt->inputs[in].redeem_script_len)) * 4;
|
||||
|
||||
/* BOLT-f53ca2301232db780843e894f55d95d512f297f9 #3:
|
||||
*
|
||||
* The minimum witness weight for an input is 110.
|
||||
*/
|
||||
weight += 110;
|
||||
return weight;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue