diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-09-22 11:32:25 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-09-22 11:29:44 +0200 |
commit | faff17bbde6dcb1482a6210bc48b3192603a446f (patch) | |
tree | 8bfc30ad26f2c8f5006b06cb92af0673597a799a /src/validation.cpp | |
parent | 51c7d88e6790d857b9920bb8b51422320dde662d (diff) |
Fix (inverse) meaning of -persistmempool
Diffstat (limited to 'src/validation.cpp')
-rw-r--r-- | src/validation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index cc87f98913..ed336a177f 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -3703,7 +3703,7 @@ bool BlockManager::LoadBlockIndexDB(std::set<CBlockIndex*, CBlockIndexWorkCompar void CChainState::LoadMempool(const ArgsManager& args) { if (!m_mempool) return; - if (args.GetArg("-persistmempool", DEFAULT_PERSIST_MEMPOOL)) { + if (args.GetBoolArg("-persistmempool", DEFAULT_PERSIST_MEMPOOL)) { ::LoadMempool(*m_mempool, *this); } m_mempool->SetIsLoaded(!ShutdownRequested()); |