test: remove redundant sync_with_ping after add_p2p_connection

This commit is contained in:
Jon Atack committed 2020-04-01 16:18:59 +02:00
1 parent b97e3a7349
commit 4670006762
1 file changed
-4
-4
View File
@@ -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)