aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoin-chainstate.cpp
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-05-18 18:49:36 +0200
committerMacroFake <falke.marco@gmail.com>2022-05-18 18:45:30 +0200
commitfaf012b438b451dced785e7f031e07c0c55665e1 (patch)
tree1e409aa5f6bee128cc2b2fcf16dbc5470d0c38d7 /src/bitcoin-chainstate.cpp
parentfa4ee53dca5ccf1b87f019f372ffc10528add943 (diff)
Do not pass Consensus::Params& to Chainstate helpers
Diffstat (limited to 'src/bitcoin-chainstate.cpp')
-rw-r--r--src/bitcoin-chainstate.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bitcoin-chainstate.cpp b/src/bitcoin-chainstate.cpp
index 2632404418..812585ba1e 100644
--- a/src/bitcoin-chainstate.cpp
+++ b/src/bitcoin-chainstate.cpp
@@ -76,7 +76,6 @@ int main(int argc, char* argv[])
std::ref(chainman),
nullptr,
false,
- chainparams.GetConsensus(),
false,
2 << 20,
2 << 22,
@@ -91,7 +90,6 @@ int main(int argc, char* argv[])
auto maybe_verify_error = node::VerifyLoadedChainstate(std::ref(chainman),
false,
false,
- chainparams.GetConsensus(),
DEFAULT_CHECKBLOCKS,
DEFAULT_CHECKLEVEL);
if (maybe_verify_error.has_value()) {