mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
test: fix flakyness of funding_reorg_private openchannel_hook
This commit is contained in:
committed by
Christian Decker
parent
7961a815aa
commit
107381aca2
@@ -303,6 +303,7 @@ def test_openchannel_hook(node_factory, bitcoind):
|
||||
|
||||
# Close it.
|
||||
l1.rpc.close(l2.info['id'])
|
||||
wait_for(lambda: len(bitcoind.rpc.getrawmempool()) > 0)
|
||||
bitcoind.generate_block(1)
|
||||
wait_for(lambda: [c['state'] for c in only_one(l1.rpc.listpeers(l2.info['id'])['peers'])['channels']] == ['ONCHAIN'])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user