mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-06-01 23:12:33 +02:00
Make test/fuzz/coins_view exercise CCoinsViewCache::Sync()
This commit is contained in:
parent
7241b936c5
commit
bb00357add
@ -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));
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user