0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-08 10:31:50 -05:00

test: Add missing sync_all to feature_coinstatsindex

This commit is contained in:
MarcoFalke 2021-06-22 20:13:59 +02:00
parent 327e2691f6
commit fafd9165e9
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

View file

@ -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)