diff options
author | Martin Zumsande <mzumsande@gmail.com> | 2023-06-12 13:54:54 -0400 |
---|---|---|
committer | Martin Zumsande <mzumsande@gmail.com> | 2023-06-12 14:46:15 -0400 |
commit | ee2417ed614d6a298f932ac068702ab2abee3cdf (patch) | |
tree | a276f00a1edb4b7bde7d8bf4710283de7e5950f5 /test/functional | |
parent | c92fd638860c5b4477851fb3790bc8068f808d3e (diff) | |
download | bitcoin-ee2417ed614d6a298f932ac068702ab2abee3cdf.tar.xz |
test: fix intermittent failure in p2p_leak_tx.py
Diffstat (limited to 'test/functional')
-rwxr-xr-x | test/functional/p2p_leak_tx.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/p2p_leak_tx.py b/test/functional/p2p_leak_tx.py index 0a331eb96e..f53f98e06d 100755 --- a/test/functional/p2p_leak_tx.py +++ b/test/functional/p2p_leak_tx.py @@ -57,6 +57,7 @@ class P2PLeakTxTest(BitcoinTestFramework): tx_b = tx_a["tx"] tx_b.vout[0].nValue -= 9000 self.gen_node.sendrawtransaction(tx_b.serialize().hex()) + inbound_peer.wait_until(lambda: "tx" in inbound_peer.last_message and inbound_peer.last_message.get("tx").tx.getwtxid() == tx_b.getwtxid()) self.log.info("Re-request of tx_a after replacement is answered with notfound") req_vec = [ |