mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
tests: augment test_onchain_their_unilateral_out to check to_remote witness generation
Changelog-Added: added a withdraw all to the end of test_onchain_their_unilateral_out to ensure that the unilateral close info is correct with anchors. Tests https://github.com/Blockstream/greenlight/issues/348
This commit is contained in:
parent
c7e5d8049e
commit
33c838212e
@ -2421,6 +2421,9 @@ def test_onchain_their_unilateral_out(node_factory, bitcoind, chainparams, ancho
|
||||
assert acc['account_resolved']
|
||||
assert acc['resolved_at_block'] > 0
|
||||
|
||||
# Have l1 send all funds to check that the unilateral close info is correct
|
||||
l1.rpc.withdraw(l1.rpc.newaddr('bech32')['bech32'], 'all', minconf=0)
|
||||
|
||||
|
||||
def test_listfunds_after_their_unilateral(node_factory, bitcoind):
|
||||
"""We keep spending info around for their unilateral closes.
|
||||
|
Loading…
Reference in New Issue
Block a user