mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-29 16:24:22 +00:00
[init] Fix error message of maxtxfee invalid amount
This commit is contained in:
parent
7b0a9a8040
commit
fac11ea310
@ -975,7 +975,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
|
|||||||
{
|
{
|
||||||
CAmount nMaxFee = 0;
|
CAmount nMaxFee = 0;
|
||||||
if (!ParseMoney(mapArgs["-maxtxfee"], nMaxFee))
|
if (!ParseMoney(mapArgs["-maxtxfee"], nMaxFee))
|
||||||
return InitError(AmountErrMsg("maxtxfee", mapArgs["-maptxfee"]));
|
return InitError(AmountErrMsg("maxtxfee", mapArgs["-maxtxfee"]));
|
||||||
if (nMaxFee > nHighTransactionMaxFeeWarning)
|
if (nMaxFee > nHighTransactionMaxFeeWarning)
|
||||||
InitWarning(_("-maxtxfee is set very high! Fees this large could be paid on a single transaction."));
|
InitWarning(_("-maxtxfee is set very high! Fees this large could be paid on a single transaction."));
|
||||||
maxTxFee = nMaxFee;
|
maxTxFee = nMaxFee;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user