aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p_addr_relay.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/p2p_addr_relay.py')
-rwxr-xr-xtest/functional/p2p_addr_relay.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/p2p_addr_relay.py b/test/functional/p2p_addr_relay.py
index 56a9e6a84e..71af7f1e7c 100755
--- a/test/functional/p2p_addr_relay.py
+++ b/test/functional/p2p_addr_relay.py
@@ -76,9 +76,9 @@ class AddrReceiver(P2PInterface):
def on_version(self, message):
self.send_version()
- self.send_message(msg_verack())
+ self.send_without_ping(msg_verack())
if (self.send_getaddr):
- self.send_message(msg_getaddr())
+ self.send_without_ping(msg_getaddr())
def getaddr_received(self):
return self.message_count['getaddr'] > 0
@@ -142,7 +142,7 @@ class AddrTest(BitcoinTestFramework):
msg = self.setup_addr_msg(1010)
with self.nodes[0].assert_debug_log(['addr message size = 1010']):
- addr_source.send_message(msg)
+ addr_source.send_without_ping(msg)
addr_source.wait_for_disconnect()
self.nodes[0].disconnect_p2ps()