test: Add missing sync_all to feature_coinstatsindex

This commit is contained in:
MarcoFalke committed 2021-06-22 20:10:33 +02:00
1 parent 327e2691f6
commit fafd9165e9
1 file changed
+1
@@ -281,6 +281,7 @@ class CoinStatsIndexTest(BitcoinTestFramework):
# Add another block, so we don't depend on reconsiderblock remembering which
# blocks were touched by invalidateblock
index_node.generate(1)
self.sync_all()
# Ensure that removing and re-adding blocks yields consistent results
block = index_node.getblockhash(99)