aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorMartin Zumsande <mzumsande@gmail.com>2023-06-12 13:54:54 -0400
committerMartin Zumsande <mzumsande@gmail.com>2023-06-12 14:46:15 -0400
commitee2417ed614d6a298f932ac068702ab2abee3cdf (patch)
treea276f00a1edb4b7bde7d8bf4710283de7e5950f5 /test/functional
parentc92fd638860c5b4477851fb3790bc8068f808d3e (diff)
downloadbitcoin-ee2417ed614d6a298f932ac068702ab2abee3cdf.tar.xz
test: fix intermittent failure in p2p_leak_tx.py
Diffstat (limited to 'test/functional')
-rwxr-xr-xtest/functional/p2p_leak_tx.py1
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 = [