diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-07-28 07:40:49 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-08-28 10:42:04 +0200 |
commit | fa0572d0f3b083b4c8e2e883a66e2b198c6779f1 (patch) | |
tree | 7a2e75b21eb48418728fb704ec2e620eb194f671 /src/init.cpp | |
parent | 862fde88be706adb20a211178253636442c3ae00 (diff) |
Pass mempool reference to chainstate constructor
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index ecd57960ad..80edc604aa 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -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; |