diff --git a/src/init.cpp b/src/init.cpp index 88d9221451..bd9fa4e499 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1881,7 +1881,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info) llmq::quorumInstantSendManager, llmq::quorumSnapshotManager, node.llmq_ctx, - node.mempool.get(), + Assert(node.mempool.get()), fPruneMode, args.GetBoolArg("-addressindex", DEFAULT_ADDRESSINDEX), is_governance_enabled, diff --git a/src/node/chainstate.cpp b/src/node/chainstate.cpp index 49894e42eb..96652513a9 100644 --- a/src/node/chainstate.cpp +++ b/src/node/chainstate.cpp @@ -69,7 +69,7 @@ std::optional LoadChainstate(bool fReset, mnhf_manager.reset(); mnhf_manager = std::make_unique(*evodb); - chainman.InitializeChainstate(Assert(mempool), *evodb, chain_helper, clhandler, isman); + chainman.InitializeChainstate(mempool, *evodb, chain_helper, clhandler, isman); chainman.m_total_coinstip_cache = nCoinCacheUsage; chainman.m_total_coinsdb_cache = nCoinDBCache;