mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-20 03:39:48 +02:00
qa: Fix race condition in sendheaders.py
This commit is contained in:
committed by
Suhas Daftuar
parent
c96b2e4f09
commit
6d51eaefe9
@@ -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