mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-06 16:36:57 +02:00
Allow dustrelayfee to be set to zero
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user