mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-27 17:54:20 +01:00
closingd, lightningd: use bitcoin_tx_2of2_input_witness_weight
This fixes lightningd's chronic weight underestimate. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Fixed: closingd: more accurate weight estimation helps mutual closing near min/max feerates.
This commit is contained in:
committed by
Christian Decker
parent
8a8d7c4243
commit
de28bbd792
@@ -3655,7 +3655,6 @@ def test_close_twice(node_factory, executor):
|
||||
assert fut2.result(TIMEOUT)['type'] == 'mutual'
|
||||
|
||||
|
||||
@pytest.mark.xfail(strict=True)
|
||||
def test_close_weight_estimate(node_factory, bitcoind):
|
||||
"""closingd uses the expected closing tx weight to constrain fees; make sure that lightningd agrees
|
||||
once it has the actual agreed tx"""
|
||||
|
||||
Reference in New Issue
Block a user