mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-09 10:43:19 -05:00
test: remove redundant sync_with_ping after add_p2p_connection
This commit is contained in:
parent
b97e3a7349
commit
4670006762
1 changed files with 0 additions and 4 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue