Skip to content

Commit e20d924

Browse files
author
MarcoFalke
committed
[trivial] init: Use defaults MIN_RELAY_TX_FEE & TRANSACTION_MAXFEE
1 parent 536766c commit e20d924

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
@@ -385,7 +385,7 @@ std::string HelpMessage(HelpMessageMode mode)
385385
strUsage += HelpMessageOpt("-spendzeroconfchange", strprintf(_("Spend unconfirmed change when sending transactions (default: %u)"), 1));
386386
strUsage += HelpMessageOpt("-txconfirmtarget=<n>", strprintf(_("If paytxfee is not set, include enough fee so transactions begin confirmation on average within n blocks (default: %u)"), DEFAULT_TX_CONFIRM_TARGET));
387387
strUsage += HelpMessageOpt("-maxtxfee=<amt>", strprintf(_("Maximum total fees (in %s) to use in a single wallet transaction; setting this too low may abort large transactions (default: %s)"),
388-
CURRENCY_UNIT, FormatMoney(maxTxFee)));
388+
CURRENCY_UNIT, FormatMoney(DEFAULT_TRANSACTION_MAXFEE)));
389389
strUsage += HelpMessageOpt("-upgradewallet", _("Upgrade wallet to latest format on startup"));
390390
strUsage += HelpMessageOpt("-wallet=<file>", _("Specify wallet file (within data directory)") + " " + strprintf(_("(default: %s)"), "wallet.dat"));
391391
strUsage += HelpMessageOpt("-walletbroadcast", _("Make the wallet broadcast transactions") + " " + strprintf(_("(default: %u)"), true));
@@ -440,7 +440,7 @@ std::string HelpMessage(HelpMessageMode mode)
440440
strUsage += HelpMessageOpt("-maxsigcachesize=<n>", strprintf("Limit size of signature cache to <n> entries (default: %u)", 50000));
441441
}
442442
strUsage += HelpMessageOpt("-minrelaytxfee=<amt>", strprintf(_("Fees (in %s/kB) smaller than this are considered zero fee for relaying, mining and transaction creation (default: %s)"),
443-
CURRENCY_UNIT, FormatMoney(::minRelayTxFee.GetFeePerK())));
443+
CURRENCY_UNIT, FormatMoney(DEFAULT_MIN_RELAY_TX_FEE)));
444444
strUsage += HelpMessageOpt("-printtoconsole", _("Send trace/debug info to console instead of debug.log file"));
445445
if (showDebug)
446446
{

0 commit comments

Comments
 (0)