From 72a1b6f59d56edf31d0ae57741c020e1db4ec74d Mon Sep 17 00:00:00 2001 From: Alexander Block Date: Mon, 8 Jul 2019 10:50:28 +0200 Subject: [PATCH] Use sync_with_ping to ensure that we don't start generating blocks too early --- test/functional/sendheaders.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/functional/sendheaders.py b/test/functional/sendheaders.py index 0d0fcfe96..22770b61c 100755 --- a/test/functional/sendheaders.py +++ b/test/functional/sendheaders.py @@ -239,6 +239,8 @@ class SendHeadersTest(BitcoinTestFramework): # Test logic begins here inv_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_nonnull_locators(test_node, inv_node)