diff --git a/tests/test_closing.py b/tests/test_closing.py index e9cbf299c119..aaabdc624453 100644 --- a/tests/test_closing.py +++ b/tests/test_closing.py @@ -2421,6 +2421,9 @@ def try_pay(): 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.