mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 22:45:27 +01:00
pytest: Stabilize test_channel_state_changed_bilateral
This commit is contained in:
parent
07f5054700
commit
7962db821c
1 changed files with 1 additions and 1 deletions
|
@ -774,7 +774,7 @@ def test_channel_state_changed_bilateral(node_factory, bitcoind):
|
||||||
assert(event2['cause'] == "remote")
|
assert(event2['cause'] == "remote")
|
||||||
assert(event2['message'] == "Closing complete")
|
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)
|
event1 = wait_for_event(l1)
|
||||||
assert(event1['old_state'] == "CLOSINGD_COMPLETE")
|
assert(event1['old_state'] == "CLOSINGD_COMPLETE")
|
||||||
|
|
Loading…
Add table
Reference in a new issue