mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-05 10:42:13 +02:00
qa: Fix race condition in sendheaders.py
Github-Pull: #11538
Rebased-From: 6d51eaefe9
This commit is contained in:
committed by
MarcoFalke
parent
fdad04e617
commit
adbc9d164a
@@ -225,6 +225,10 @@ class SendHeadersTest(BitcoinTestFramework):
|
||||
inv_node.wait_for_verack()
|
||||
test_node.wait_for_verack()
|
||||
|
||||
# Ensure verack's have been processed by our peer
|
||||
inv_node.sync_with_ping()
|
||||
test_node.sync_with_ping()
|
||||
|
||||
tip = int(self.nodes[0].getbestblockhash(), 16)
|
||||
|
||||
# PART 1
|
||||
|
||||
Reference in New Issue
Block a user