diff options
author | Pieter Wuille <pieter@wuille.net> | 2023-01-30 11:32:59 -0500 |
---|---|---|
committer | Pieter Wuille <pieter@wuille.net> | 2023-01-30 13:11:53 -0500 |
commit | bb00357add2c44d4b2cf4341be963f6bb9bee63f (patch) | |
tree | 739c7bda8bf4afb3edb53bba77165d1bae4e3b90 /src/test/fuzz/coins_view.cpp | |
parent | 7241b936c5b4d004cdbdc7dc4d0b586856f6716b (diff) |
Make test/fuzz/coins_view exercise CCoinsViewCache::Sync()
Diffstat (limited to 'src/test/fuzz/coins_view.cpp')
-rw-r--r-- | src/test/fuzz/coins_view.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/fuzz/coins_view.cpp b/src/test/fuzz/coins_view.cpp index 46026d8df3..e75dc3ce91 100644 --- a/src/test/fuzz/coins_view.cpp +++ b/src/test/fuzz/coins_view.cpp @@ -75,6 +75,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)); }, [&] { |