mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 03:47:29 -03:00
test: fix intermittent failure in p2p_leak_tx.py
This commit is contained in:
parent
c92fd63886
commit
ee2417ed61
1 changed files with 1 additions and 0 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue