mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Pass mempool reference to chainstate constructor
This commit is contained in:
parent
862fde88be
commit
fa0572d0f3
7 changed files with 55 additions and 37 deletions
|
|
@ -1550,7 +1550,7 @@ bool AppInitMain(const util::Ref& context, NodeContext& node, interfaces::BlockA
|
|||
const int64_t load_block_index_start_time = GetTimeMillis();
|
||||
try {
|
||||
LOCK(cs_main);
|
||||
chainman.InitializeChainstate();
|
||||
chainman.InitializeChainstate(*Assert(node.mempool));
|
||||
chainman.m_total_coinstip_cache = nCoinCacheUsage;
|
||||
chainman.m_total_coinsdb_cache = nCoinDBCache;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue