From 4670006762ffce654bb12edb5a7e64ad004122a7 Mon Sep 17 00:00:00 2001 From: Jon Atack Date: Wed, 1 Apr 2020 15:46:54 +0200 Subject: [PATCH] test: remove redundant sync_with_ping after add_p2p_connection --- test/functional/p2p_sendheaders.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/functional/p2p_sendheaders.py b/test/functional/p2p_sendheaders.py index 161b67e6d0..0152a26698 100755 --- a/test/functional/p2p_sendheaders.py +++ b/test/functional/p2p_sendheaders.py @@ -243,10 +243,6 @@ class SendHeadersTest(BitcoinTestFramework): # will occur outside of direct fetching test_node = self.nodes[0].add_p2p_connection(BaseNode(), services=NODE_WITNESS) - # Ensure verack's have been processed by our peer - inv_node.sync_with_ping() - test_node.sync_with_ping() - self.test_null_locators(test_node, inv_node) self.test_nonnull_locators(test_node, inv_node)