aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2018-02-28 17:36:19 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2018-02-28 17:37:14 +0000
commit874e8180858450e7cc597e8ed9b047c35e000dda (patch)
tree7c4573daddedd687bb2e2992e88cdd1b34f39a04 /src
parentc2704ec98a1b7b35b6a7c1b6b26a3f16d44e8880 (diff)
Allow dustrelayfee to be set to zero
Diffstat (limited to 'src')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index d79c2967b9..51b3d2ab8a 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -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);
}