File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -72,12 +72,14 @@ def set_test_params(self):
7272 ["-mempoolreplacement=0" ]]
7373
7474 def run_test (self ):
75- # Leave IBD and ensure nodes are synced
75+ # Leave IBD
7676 self .nodes [0 ].generate (1 )
77- self .sync_all ()
7877
7978 make_utxo (self .nodes [0 ], 1 * COIN )
8079
80+ # Ensure nodes are synced
81+ self .sync_all ()
82+
8183 self .log .info ("Running test simple doublespend..." )
8284 self .test_simple_doublespend ()
8385
Original file line number Diff line number Diff line change @@ -225,6 +225,10 @@ def run_test(self):
225225 inv_node .wait_for_verack ()
226226 test_node .wait_for_verack ()
227227
228+ # Ensure verack's have been processed by our peer
229+ inv_node .sync_with_ping ()
230+ test_node .sync_with_ping ()
231+
228232 tip = int (self .nodes [0 ].getbestblockhash (), 16 )
229233
230234 # PART 1
You can’t perform that action at this time.
0 commit comments