mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-23 06:54:30 +01:00
pytest: Stabilize test_channel_state_changed_bilateral
This commit is contained in:
committed by
Rusty Russell
parent
07f5054700
commit
7962db821c
@@ -774,7 +774,7 @@ def test_channel_state_changed_bilateral(node_factory, bitcoind):
|
||||
assert(event2['cause'] == "remote")
|
||||
assert(event2['message'] == "Closing complete")
|
||||
|
||||
bitcoind.generate_block(100) # so it gets settled
|
||||
bitcoind.generate_block(100, wait_for_mempool=1) # so it gets settled
|
||||
|
||||
event1 = wait_for_event(l1)
|
||||
assert(event1['old_state'] == "CLOSINGD_COMPLETE")
|
||||
|
||||
Reference in New Issue
Block a user