aboutsummaryrefslogtreecommitdiff
path: root/src/node/chainstate.cpp
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2021-11-11 19:19:09 -0500
committerCarl Dong <contact@carldong.me>2021-12-06 15:56:55 -0500
commit8715658983a0a07c56513acd8ded8dfc59c5c169 (patch)
treed6a398462208fcc025d07aee38e7dcac05e83d56 /src/node/chainstate.cpp
parent9162a4f93ef5aeb57fe11a6e09f5881cf431f5e6 (diff)
Move mempool nullptr Assert out of LoadChainstate
Diffstat (limited to 'src/node/chainstate.cpp')
-rw-r--r--src/node/chainstate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/chainstate.cpp b/src/node/chainstate.cpp
index 4b0b71e00f..b8914a0c65 100644
--- a/src/node/chainstate.cpp
+++ b/src/node/chainstate.cpp
@@ -31,7 +31,7 @@ std::optional<ChainstateLoadingError> LoadChainstate(bool fReset,
do {
try {
LOCK(cs_main);
- chainman.InitializeChainstate(Assert(mempool));
+ chainman.InitializeChainstate(mempool);
chainman.m_total_coinstip_cache = nCoinCacheUsage;
chainman.m_total_coinsdb_cache = nCoinDBCache;