Make test/fuzz/coins_view exercise CCoinsViewCache::Sync()

This commit is contained in:
Pieter Wuille 2023-01-30 11:32:59 -05:00
parent 7241b936c5
commit bb00357add

View File

@ -74,6 +74,9 @@ FUZZ_TARGET_INIT(coins_view, initialize_coins_view)
[&] {
(void)coins_view_cache.Flush();
},
[&] {
(void)coins_view_cache.Sync();
},
[&] {
coins_view_cache.SetBestBlock(ConsumeUInt256(fuzzed_data_provider));
},