test: remove redundant sync_with_ping after add_p2p_connection

pull/764/head
Jon Atack 5 years ago
parent b97e3a7349
commit 4670006762
No known key found for this signature in database
GPG Key ID: 4F5721B3D0E3921D

@ -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)

Loading…
Cancel
Save