mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
pytest: fix flake in test_emergencyrecover
Make sure bitcoind sees tx before we mine blocks! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
49ed0a4b9e
commit
d2633d3e6d
@@ -2341,7 +2341,7 @@ def test_emergencyrecover(node_factory, bitcoind):
|
||||
l1.daemon.wait_for_log('peer_out WIRE_ERROR')
|
||||
l2.daemon.wait_for_log('State changed from CHANNELD_NORMAL to AWAITING_UNILATERAL')
|
||||
|
||||
l2.bitcoin.generate_block(5)
|
||||
bitcoind.generate_block(5, wait_for_mempool=1)
|
||||
sync_blockheight(bitcoind, [l1, l2])
|
||||
|
||||
l1.daemon.wait_for_log(r'All outputs resolved.*')
|
||||
|
||||
Reference in New Issue
Block a user