diff options
| author | Ross Nicoll <[email protected]> | 2019-11-03 09:53:27 +0000 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2019-11-03 09:55:30 +0000 |
| commit | 093f1abf40ebd983f61321cc50ff850431262a1f (patch) | |
| tree | 910e59ce198e04c1d77e9e84e426bdb8f6eaf72b /src/dogecoin.cpp | |
| parent | Drop use of smart fees (diff) | |
| download | discoin-093f1abf40ebd983f61321cc50ff850431262a1f.tar.xz discoin-093f1abf40ebd983f61321cc50ff850431262a1f.zip | |
Correct dust and change
Correct dust threshold, which is never less than 1 DOGE.
Correct minimum change, which is 1 DOGE.
Diffstat (limited to 'src/dogecoin.cpp')
| -rw-r--r-- | src/dogecoin.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dogecoin.cpp b/src/dogecoin.cpp index 3f06e8a49..5336d625b 100644 --- a/src/dogecoin.cpp +++ b/src/dogecoin.cpp @@ -181,8 +181,7 @@ CAmount GetDogecoinDustFee(const std::vector<CTxOut> &vout, CFeeRate &baseFeeRat // To limit dust spam, add base fee for each output less than a COIN BOOST_FOREACH(const CTxOut& txout, vout) - // if (txout.IsDust(::minRelayTxFee)) - if (txout.nValue < COIN) + if (txout.IsDust(::minRelayTxFee)) nFee += baseFeeRate.GetFeePerK(); return nFee; |