Merge 03aa59a4e5 into merged_master (Bitcoin PR bitcoin/bitcoin#22313)

This commit is contained in:
Andrew Poelstra 2021-07-28 13:29:17 +00:00
commit f8ca439f8f

View file

@ -282,6 +282,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)