mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
Move mempool nullptr Assert out of LoadChainstate
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user