diff options
author | Carl Dong <contact@carldong.me> | 2021-09-20 16:44:21 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2021-12-06 15:56:55 -0500 |
commit | 9162a4f93ef5aeb57fe11a6e09f5881cf431f5e6 (patch) | |
tree | 1ef3829ddaadb842e7c20f921922ee336efb5141 /src/init.cpp | |
parent | c7a5c46e6fd6d6ff46ca7a65fc3f0fff3cbdb24e (diff) | |
download | bitcoin-9162a4f93ef5aeb57fe11a6e09f5881cf431f5e6.tar.xz |
node/chainstate: Decouple from concept of NodeContext
...instead pass in only the necessary information
Also allow mempool to be a nullptr
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 f44373728d..eb23ae501c 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, + node.mempool.get(), fPruneMode, chainparams, fReindexChainState, |