mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Fix (inverse) meaning of -persistmempool
This commit is contained in:
parent
51c7d88e67
commit
faff17bbde
3 changed files with 3 additions and 3 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue