Make test/fuzz/coins_view exercise CCoinsViewCache::Sync()
This commit is contained in:
1 parent
7241b936c5
commit
bb00357add
1 file changed
+3
@@ -74,6 +74,9 @@ FUZZ_TARGET_INIT(coins_view, initialize_coins_view)
|
|||||||
[&] {
|
[&] {
|
||||||
(void)coins_view_cache.Flush();
|
(void)coins_view_cache.Flush();
|
||||||
},
|
},
|
||||||
|
[&] {
|
||||||
|
(void)coins_view_cache.Sync();
|
||||||
|
},
|
||||||
[&] {
|
[&] {
|
||||||
coins_view_cache.SetBestBlock(ConsumeUInt256(fuzzed_data_provider));
|
coins_view_cache.SetBestBlock(ConsumeUInt256(fuzzed_data_provider));
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user