mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Fix (inverse) meaning of -persistmempool
Github-Pull: #23061
Rebased-From: faff17bbde
(cherry picked from commit db76db7329f6357c5226cd08611fe0f669c002af)
This commit is contained in:
parent
92131fa0e9
commit
df09befb2f
3 changed files with 3 additions and 3 deletions
|
|
@ -4229,7 +4229,7 @@ bool CChainState::LoadBlockIndexDB()
|
|||
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