Move mempool nullptr Assert out of LoadChainstate

This commit is contained in:
Carl Dong
2021-11-11 19:19:09 -05:00
parent 9162a4f93e
commit 8715658983
2 changed files with 2 additions and 2 deletions

View File

@@ -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;