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

This commit is contained in:
Pieter Wuille committed 2023-01-30 13:11:53 -05:00
1 parent 7241b936c5
commit bb00357add
1 file changed
+3
+3
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));
},