Allow dustrelayfee to be set to zero

This commit is contained in:
Luke Dashjr 2018-02-28 17:36:19 +00:00
parent c2704ec98a
commit 874e818085

View File

@ -1057,7 +1057,7 @@ bool AppInitParameterInteraction()
if (gArgs.IsArgSet("-dustrelayfee"))
{
CAmount n = 0;
if (!ParseMoney(gArgs.GetArg("-dustrelayfee", ""), n) || 0 == n)
if (!ParseMoney(gArgs.GetArg("-dustrelayfee", ""), n))
return InitError(AmountErrMsg("dustrelayfee", gArgs.GetArg("-dustrelayfee", "")));
dustRelayFee = CFeeRate(n);
}