aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz
diff options
context:
space:
mode:
authorAnthony Towns <aj@erisian.com.au>2022-01-18 21:49:30 +1000
committerAnthony Towns <aj@erisian.com.au>2022-05-10 12:09:33 +1000
commit38860f93b680f152fc6fc3d9ae574a4c0659e775 (patch)
treeacc29f37fd6d9f96aa10ed59bf588ac51734989b /src/test/fuzz
parent69675ea4e73dcf5e9dd0f94802bd3463e4262081 (diff)
validation: remove redundant CChainParams params from ChainstateManager methods
Diffstat (limited to 'src/test/fuzz')
-rw-r--r--src/test/fuzz/utxo_snapshot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/utxo_snapshot.cpp b/src/test/fuzz/utxo_snapshot.cpp
index e513f1883c..33496a457e 100644
--- a/src/test/fuzz/utxo_snapshot.cpp
+++ b/src/test/fuzz/utxo_snapshot.cpp
@@ -58,7 +58,7 @@ FUZZ_TARGET_INIT(utxo_snapshot, initialize_chain)
if (fuzzed_data_provider.ConsumeBool()) {
for (const auto& block : *g_chain) {
BlockValidationState dummy;
- bool processed{chainman.ProcessNewBlockHeaders({*block}, dummy, ::Params())};
+ bool processed{chainman.ProcessNewBlockHeaders({*block}, dummy)};
Assert(processed);
const auto* index{WITH_LOCK(::cs_main, return chainman.m_blockman.LookupBlockIndex(block->GetHash()))};
Assert(index);