aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p_timeouts.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/p2p_timeouts.py')
-rwxr-xr-xtest/functional/p2p_timeouts.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/p2p_timeouts.py b/test/functional/p2p_timeouts.py
index ce01547887..73a6a866e8 100755
--- a/test/functional/p2p_timeouts.py
+++ b/test/functional/p2p_timeouts.py
@@ -67,10 +67,10 @@ class TimeoutsTest(BitcoinTestFramework):
assert no_send_node.is_connected
with self.nodes[0].assert_debug_log(['Unsupported message "ping" prior to verack from peer=0']):
- no_verack_node.send_message(msg_ping())
+ no_verack_node.send_without_ping(msg_ping())
with self.nodes[0].assert_debug_log(['non-version message before version handshake. Message "ping" from peer=1']):
- no_version_node.send_message(msg_ping())
+ no_version_node.send_without_ping(msg_ping())
self.mock_forward(1)
assert "version" in no_verack_node.last_message
@@ -79,8 +79,8 @@ class TimeoutsTest(BitcoinTestFramework):
assert no_version_node.is_connected
assert no_send_node.is_connected
- no_verack_node.send_message(msg_ping())
- no_version_node.send_message(msg_ping())
+ no_verack_node.send_without_ping(msg_ping())
+ no_version_node.send_without_ping(msg_ping())
if self.options.v2transport:
expected_timeout_logs = [