qa: Fix race condition in sendheaders.py

This commit is contained in:
Suhas Daftuar
2017-10-20 16:24:10 -04:00
committed by Suhas Daftuar
parent c96b2e4f09
commit 6d51eaefe9
2 changed files with 8 additions and 2 deletions

View File

@@ -72,12 +72,14 @@ class ReplaceByFeeTest(BitcoinTestFramework):
["-mempoolreplacement=0"]]
def run_test(self):
# Leave IBD and ensure nodes are synced
# Leave IBD
self.nodes[0].generate(1)
self.sync_all()
make_utxo(self.nodes[0], 1*COIN)
# Ensure nodes are synced
self.sync_all()
self.log.info("Running test simple doublespend...")
self.test_simple_doublespend()