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):
72
72
["-mempoolreplacement=0" ]]
73
73
74
74
def run_test (self ):
75
- # Leave IBD and ensure nodes are synced
75
+ # Leave IBD
76
76
self .nodes [0 ].generate (1 )
77
- self .sync_all ()
78
77
79
78
make_utxo (self .nodes [0 ], 1 * COIN )
80
79
80
+ # Ensure nodes are synced
81
+ self .sync_all ()
82
+
81
83
self .log .info ("Running test simple doublespend..." )
82
84
self .test_simple_doublespend ()
83
85
Original file line number Diff line number Diff line change @@ -225,6 +225,10 @@ def run_test(self):
225
225
inv_node .wait_for_verack ()
226
226
test_node .wait_for_verack ()
227
227
228
+ # Ensure verack's have been processed by our peer
229
+ inv_node .sync_with_ping ()
230
+ test_node .sync_with_ping ()
231
+
228
232
tip = int (self .nodes [0 ].getbestblockhash (), 16 )
229
233
230
234
# PART 1
You can’t perform that action at this time.
0 commit comments