mirror of
https://github.com/dashpay/dash.git
synced 2024-12-23 19:12:47 +01:00
Move mempool nullptr Assert out of LoadChainstate
This commit is contained in:
parent
7071282a2d
commit
29c736280d
@ -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,
|
||||
|
@ -69,7 +69,7 @@ std::optional<ChainstateLoadingError> LoadChainstate(bool fReset,
|
||||
mnhf_manager.reset();
|
||||
mnhf_manager = std::make_unique<CMNHFManager>(*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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user