diff options
Diffstat (limited to 'src/test/fuzz/coinscache_sim.cpp')
-rw-r--r-- | src/test/fuzz/coinscache_sim.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/fuzz/coinscache_sim.cpp b/src/test/fuzz/coinscache_sim.cpp index b794888ca2..02575f2731 100644 --- a/src/test/fuzz/coinscache_sim.cpp +++ b/src/test/fuzz/coinscache_sim.cpp @@ -245,7 +245,7 @@ FUZZ_TARGET(coinscache_sim) ++current_height; // Make sure there is always at least one CCoinsViewCache. if (caches.empty()) { - caches.emplace_back(new CCoinsViewCache(&bottom)); + caches.emplace_back(new CCoinsViewCache(&bottom, /*deterministic=*/true)); sim_caches[caches.size()].Wipe(); } @@ -374,7 +374,7 @@ FUZZ_TARGET(coinscache_sim) [&]() { // Add a cache level (if not already at the max). if (caches.size() != MAX_CACHES) { // Apply to real caches. - caches.emplace_back(new CCoinsViewCache(&*caches.back())); + caches.emplace_back(new CCoinsViewCache(&*caches.back(), /*deterministic=*/true)); // Apply to simulation data. sim_caches[caches.size()].Wipe(); } |