diff options
Diffstat (limited to 'src/primitives')
| -rw-r--r-- | src/primitives/transaction.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/primitives/transaction.h b/src/primitives/transaction.h index 16a92bf2e..0d0ceda54 100644 --- a/src/primitives/transaction.h +++ b/src/primitives/transaction.h @@ -15,6 +15,8 @@ static const int SERIALIZE_TRANSACTION_NO_WITNESS = 0x40000000; static const int WITNESS_SCALE_FACTOR = 4; +extern unsigned int nDustLimit; + /** An outpoint - a combination of a transaction hash and an index n into its vout */ class COutPoint { @@ -195,7 +197,7 @@ public: */ // Dogecoin: Anything below 1 DOGE is always dust - return COIN; + return nDustLimit; } bool IsDust(const CFeeRate &minRelayTxFeeRate) const |