diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-03-05 22:35:50 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-03-05 22:37:47 +0100 |
commit | ed6ae8059cdbad60466807a7cfb23e5540a50051 (patch) | |
tree | 9df5bb07a002b66647449b3d37be64c9a46f2a13 | |
parent | 955fd23517bf4fd4facad2c7cd848bf01abc2baa (diff) | |
parent | 874e8180858450e7cc597e8ed9b047c35e000dda (diff) |
Merge #12568: Allow dustrelayfee to be set to zero
874e81808 Allow dustrelayfee to be set to zero (Luke Dashjr)
Pull request description:
I don't see and can't think of any rationale for forbidding this configuration.
Tree-SHA512: df09441f4aec63e79bea94838b7f8e336cebaeb0a22b5e58d27937bbeb1377f229921aeae43674e0b63fc40a39ae51a264d48aa1cdb4cbd0e3339d32856698bf
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index 47bcdf2294..f763c3a435 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1083,7 +1083,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); } |