Skip to content

Commit faa572a

Browse files
author
MarcoFalke
committed
[init] Help Msg: Use Params(CBaseChainParams::MAIN)
1 parent fa6ab96 commit faa572a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/init.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,8 +425,8 @@ std::string HelpMessage(HelpMessageMode mode)
425425
strUsage += HelpMessageOpt("-uacomment=<cmt>", _("Append comment to the user agent string"));
426426
if (showDebug)
427427
{
428-
strUsage += HelpMessageOpt("-checkblockindex", strprintf("Do a full consistency check for mapBlockIndex, setBlockIndexCandidates, chainActive and mapBlocksUnlinked occasionally. Also sets -checkmempool. (default: %u)", Params().DefaultConsistencyChecks()));
429-
strUsage += HelpMessageOpt("-checkmempool=<n>", strprintf("Run checks every <n> transactions. (default: %u)", Params().DefaultConsistencyChecks()));
428+
strUsage += HelpMessageOpt("-checkblockindex", strprintf("Do a full consistency check for mapBlockIndex, setBlockIndexCandidates, chainActive and mapBlocksUnlinked occasionally. Also sets -checkmempool (default: %u)", Params(CBaseChainParams::MAIN).DefaultConsistencyChecks()));
429+
strUsage += HelpMessageOpt("-checkmempool=<n>", strprintf("Run checks every <n> transactions (default: %u)", Params(CBaseChainParams::MAIN).DefaultConsistencyChecks()));
430430
strUsage += HelpMessageOpt("-checkpoints", strprintf("Disable expensive verification for known chain history (default: %u)", DEFAULT_CHECKPOINTS_ENABLED));
431431
#ifdef ENABLE_WALLET
432432
strUsage += HelpMessageOpt("-dblogsize=<n>", strprintf("Flush wallet database activity from memory to disk log every <n> megabytes (default: %u)", DEFAULT_WALLET_DBLOGSIZE));

0 commit comments

Comments
 (0)