Skip to content

Commit f8581d8

Browse files
committed
fix: sync before bumping mocktime
1 parent d89f41c commit f8581d8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/functional/feature_llmq_simplepose.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,12 @@ def repair_masternodes(self, restart):
196196
mn.node.setnetworkactive(True)
197197
self.connect_nodes(mn.node.index, 0)
198198

199+
# syncing blocks only since node 0 has txes waiting to be mined
200+
self.sync_blocks()
201+
199202
# Make sure protxes are "safe" to mine even when InstantSend and ChainLocks are no longer functional
200203
self.bump_mocktime(60 * 10 + 1)
201204
self.nodes[0].generate(1)
202-
self.wait_until(lambda: all([x.getconnectioncount() > 0 for x in self.nodes]))
203205
self.sync_all()
204206

205207
# Isolate and re-connect all MNs (otherwise there might be open connections with no MNAUTH for MNs which were banned before)

0 commit comments

Comments
 (0)