mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-05 05:02:06 +02:00
test: remove redundant sync_with_ping after add_p2p_connection
This commit is contained in:
@ -243,10 +243,6 @@ class SendHeadersTest(BitcoinTestFramework):
|
|||||||
# will occur outside of direct fetching
|
# will occur outside of direct fetching
|
||||||
test_node = self.nodes[0].add_p2p_connection(BaseNode(), services=NODE_WITNESS)
|
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_null_locators(test_node, inv_node)
|
||||||
self.test_nonnull_locators(test_node, inv_node)
|
self.test_nonnull_locators(test_node, inv_node)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user