diff options
Diffstat (limited to 'src/dogecoin.cpp')
| -rw-r--r-- | src/dogecoin.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dogecoin.cpp b/src/dogecoin.cpp index 0321a6527..83e9b8b02 100644 --- a/src/dogecoin.cpp +++ b/src/dogecoin.cpp @@ -150,9 +150,10 @@ CAmount GetDogecoinBlockSubsidy(int nHeight, const Consensus::Params& consensusP int64_t GetDogecoinDustFee(const std::vector<CTxOut> &vout, CFeeRate &baseFeeRate) { int64_t nFee = 0; - // To limit dust spam, add base fee for each output less than DUST_SOFT_LIMIT + // To limit dust spam, add base fee for each dust output BOOST_FOREACH(const CTxOut& txout, vout) - if (txout.IsDust(::minRelayTxFee)) + // if (txout.IsDust(::minRelayTxFee)) + if (txout.nValue < COIN) nFee += baseFeeRate.GetFeePerK(); return nFee; |