mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
Do not pass Consensus::Params& to Chainstate helpers
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user