Skip to content

Commit fadddd1

Browse files
author
MarcoFalke
committed
test: Add missing syncwithvalidationinterfacequeue
1 parent faa211f commit fadddd1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/functional/p2p_blockfilters.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def run_test(self):
6363
self.disconnect_nodes(0, 1)
6464

6565
stale_block_hash = self.nodes[0].generate(1)[0]
66+
self.nodes[0].syncwithvalidationinterfacequeue()
6667
assert_equal(self.nodes[0].getblockcount(), 1000)
6768

6869
self.nodes[1].generate(1001)
@@ -90,6 +91,7 @@ def run_test(self):
9091
self.log.info("Reorg node 0 to a new chain.")
9192
self.connect_nodes(0, 1)
9293
self.sync_blocks(timeout=600)
94+
self.nodes[0].syncwithvalidationinterfacequeue()
9395

9496
main_block_hash = self.nodes[0].getblockhash(1000)
9597
assert main_block_hash != stale_block_hash, "node 0 chain did not reorganize"

0 commit comments

Comments
 (0)