Skip to content

Commit ee2417e

Browse files
committed
test: fix intermittent failure in p2p_leak_tx.py
1 parent c92fd63 commit ee2417e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/functional/p2p_leak_tx.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ def test_notfound_on_replaced_tx(self):
5757
tx_b = tx_a["tx"]
5858
tx_b.vout[0].nValue -= 9000
5959
self.gen_node.sendrawtransaction(tx_b.serialize().hex())
60+
inbound_peer.wait_until(lambda: "tx" in inbound_peer.last_message and inbound_peer.last_message.get("tx").tx.getwtxid() == tx_b.getwtxid())
6061

6162
self.log.info("Re-request of tx_a after replacement is answered with notfound")
6263
req_vec = [

0 commit comments

Comments
 (0)