aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/init.cpp2
-rw-r--r--src/node/chainstate.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp
index eb23ae501c..6ed382a00c 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1421,7 +1421,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
const int64_t load_block_index_start_time = GetTimeMillis();
auto rv = LoadChainstate(fReset,
chainman,
- node.mempool.get(),
+ Assert(node.mempool.get()),
fPruneMode,
chainparams,
fReindexChainState,
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;