mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
Allow dustrelayfee to be set to zero
This commit is contained in:
parent
c2704ec98a
commit
874e818085
@ -1057,7 +1057,7 @@ bool AppInitParameterInteraction()
|
|||||||
if (gArgs.IsArgSet("-dustrelayfee"))
|
if (gArgs.IsArgSet("-dustrelayfee"))
|
||||||
{
|
{
|
||||||
CAmount n = 0;
|
CAmount n = 0;
|
||||||
if (!ParseMoney(gArgs.GetArg("-dustrelayfee", ""), n) || 0 == n)
|
if (!ParseMoney(gArgs.GetArg("-dustrelayfee", ""), n))
|
||||||
return InitError(AmountErrMsg("dustrelayfee", gArgs.GetArg("-dustrelayfee", "")));
|
return InitError(AmountErrMsg("dustrelayfee", gArgs.GetArg("-dustrelayfee", "")));
|
||||||
dustRelayFee = CFeeRate(n);
|
dustRelayFee = CFeeRate(n);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user