Allow dustrelayfee to be set to zero
This commit is contained in:
parent
c2704ec98a
commit
874e818085
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue