Skip to content

Commit

Permalink
[init] Fix error message of maxtxfee invalid amount
Browse files Browse the repository at this point in the history
Github-Pull: bitcoin#7290
Rebased-From: fac11ea
  • Loading branch information
MarcoFalke committed Jan 18, 2016
1 parent a74fa1f commit 44438a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/init.cpp
Expand Up @@ -978,7 +978,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
{
CAmount nMaxFee = 0;
if (!ParseMoney(mapArgs["-maxtxfee"], nMaxFee))
return InitError(strprintf(_("Invalid amount for -maxtxfee=<amount>: '%s'"), mapArgs["-maptxfee"]));
return InitError(strprintf(_("Invalid amount for -maxtxfee=<amount>: '%s'"), mapArgs["-maxtxfee"]));
if (nMaxFee > nHighTransactionMaxFeeWarning)
InitWarning(_("-maxtxfee is set very high! Fees this large could be paid on a single transaction."));
maxTxFee = nMaxFee;
Expand Down

0 comments on commit 44438a1

Please sign in to comment.