mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
onchaind: see closes when wrong_funding shutdowns are used.
Fairly easy to do, though we also have to add the watch when we load from the database. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -2739,6 +2739,5 @@ def test_shutdown_alternate_txid(node_factory, bitcoind):
|
||||
# We will see our funds return.
|
||||
assert len(l1.rpc.listfunds()['outputs']) == 1
|
||||
|
||||
# FIXME: we should close channels, but we don't!
|
||||
# wait_for(lambda: l2.rpc.listpeers()['peers'] == [])
|
||||
# wait_for(lambda: l1.rpc.listpeers()['peers'] == [])
|
||||
wait_for(lambda: l2.rpc.listpeers()['peers'] == [])
|
||||
wait_for(lambda: l1.rpc.listpeers()['peers'] == [])
|
||||
|
||||
Reference in New Issue
Block a user