mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 23:54:22 +01:00
pytest: don't wait for sendrawtx, wait for expected tx.
In particular, test_no_fee_estimate was flaky due to seeing the funding tx being sent. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
7744c41521
commit
252bbe1d2d
@@ -182,7 +182,7 @@ def test_htlc_sig_persistence(node_factory, executor):
|
||||
# This should reload the htlc_sig
|
||||
l2.rpc.dev_fail(l1.info['id'])
|
||||
# Make sure it broadcasts to chain.
|
||||
l2.daemon.wait_for_log('sendrawtx exit 0')
|
||||
l2.wait_for_channel_onchain(l1.info['id'])
|
||||
l2.stop()
|
||||
l1.bitcoin.rpc.generate(1)
|
||||
l1.start()
|
||||
|
||||
Reference in New Issue
Block a user