mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-15 04:30:42 +02: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"))
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user