aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-09-22 11:32:25 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-09-22 11:29:44 +0200
commitfaff17bbde6dcb1482a6210bc48b3192603a446f (patch)
tree8bfc30ad26f2c8f5006b06cb92af0673597a799a /src/init.cpp
parent51c7d88e6790d857b9920bb8b51422320dde662d (diff)
Fix (inverse) meaning of -persistmempool
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index ff36ec805c..244c13170a 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -218,7 +218,7 @@ void Shutdown(NodeContext& node)
node.banman.reset();
node.addrman.reset();
- if (node.mempool && node.mempool->IsLoaded() && node.args->GetArg("-persistmempool", DEFAULT_PERSIST_MEMPOOL)) {
+ if (node.mempool && node.mempool->IsLoaded() && node.args->GetBoolArg("-persistmempool", DEFAULT_PERSIST_MEMPOOL)) {
DumpMempool(*node.mempool);
}