Use sync_with_ping to ensure that we don't start generating blocks too early
This commit is contained in:
parent
3fe858e53f
commit
72a1b6f59d
@ -239,6 +239,8 @@ class SendHeadersTest(BitcoinTestFramework):
|
|||||||
# Test logic begins here
|
# Test logic begins here
|
||||||
inv_node.wait_for_verack()
|
inv_node.wait_for_verack()
|
||||||
test_node.wait_for_verack()
|
test_node.wait_for_verack()
|
||||||
|
inv_node.sync_with_ping()
|
||||||
|
test_node.sync_with_ping()
|
||||||
|
|
||||||
self.test_null_locators(test_node)
|
self.test_null_locators(test_node)
|
||||||
self.test_nonnull_locators(test_node, inv_node)
|
self.test_nonnull_locators(test_node, inv_node)
|
||||||
|
Loading…
Reference in New Issue
Block a user