aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p_ibd_txrelay.py
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-09-05 12:11:54 +0200
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-09-05 12:11:10 +0200
commitfae0b21e6c7a27f08ea8f8b49198c734f923b5da (patch)
tree4d94135215f530b7713cb56f133ea18ef831a0c3 /test/functional/p2p_ibd_txrelay.py
parent260445bee8f003d5dd863d16e1eb2240bb130549 (diff)
downloadbitcoin-fae0b21e6c7a27f08ea8f8b49198c734f923b5da.tar.xz
test: Combine sync_send_with_ping and sync_with_ping
Diffstat (limited to 'test/functional/p2p_ibd_txrelay.py')
-rwxr-xr-xtest/functional/p2p_ibd_txrelay.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/p2p_ibd_txrelay.py b/test/functional/p2p_ibd_txrelay.py
index 65a94ad31c..b93e39a925 100755
--- a/test/functional/p2p_ibd_txrelay.py
+++ b/test/functional/p2p_ibd_txrelay.py
@@ -53,7 +53,7 @@ class P2PIBDTxRelayTest(BitcoinTestFramework):
peer_inver.send_and_ping(msg_inv([CInv(t=MSG_WTX, h=txid)]))
# The node should not send a getdata, but if it did, it would first delay 2 seconds
self.nodes[0].setmocktime(int(time.time() + NONPREF_PEER_TX_DELAY))
- peer_inver.sync_send_with_ping()
+ peer_inver.sync_with_ping()
with p2p_lock:
assert txid not in peer_inver.getdata_requests
self.nodes[0].disconnect_p2ps()