Skip to content

Commit bb00357

Browse files
committed
Make test/fuzz/coins_view exercise CCoinsViewCache::Sync()
1 parent 7241b93 commit bb00357

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/fuzz/coins_view.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ FUZZ_TARGET_INIT(coins_view, initialize_coins_view)
7474
[&] {
7575
(void)coins_view_cache.Flush();
7676
},
77+
[&] {
78+
(void)coins_view_cache.Sync();
79+
},
7780
[&] {
7881
coins_view_cache.SetBestBlock(ConsumeUInt256(fuzzed_data_provider));
7982
},

0 commit comments

Comments
 (0)