diff options
author | Anthony Towns <aj@erisian.com.au> | 2022-01-18 21:34:16 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2022-05-10 12:09:27 +1000 |
commit | 69675ea4e73dcf5e9dd0f94802bd3463e4262081 (patch) | |
tree | fd28492424413d54e5e84f75d3118529b0b82071 /src/init.cpp | |
parent | a8098f2cef53ec003edae91100afce564e9c6f23 (diff) | |
download | bitcoin-69675ea4e73dcf5e9dd0f94802bd3463e4262081.tar.xz |
validation: add CChainParams to ChainstateManager
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index 713598f411..1e16aee867 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1424,7 +1424,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info) for (bool fLoaded = false; !fLoaded && !ShutdownRequested();) { node.mempool = std::make_unique<CTxMemPool>(node.fee_estimator.get(), mempool_check_ratio); - node.chainman = std::make_unique<ChainstateManager>(); + node.chainman = std::make_unique<ChainstateManager>(chainparams); ChainstateManager& chainman = *node.chainman; const bool fReset = fReindex; |