From 3ae2d2aacc38baad6f4b2c2c63166f52e2d96e58 Mon Sep 17 00:00:00 2001 From: janko33bd Date: Thu, 21 Dec 2017 23:07:41 +0100 Subject: [PATCH] dust fix --- src/policy/policy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/policy/policy.cpp b/src/policy/policy.cpp index 6a5750584..0a73aeb35 100644 --- a/src/policy/policy.cpp +++ b/src/policy/policy.cpp @@ -122,7 +122,7 @@ bool IsStandardTx(const CTransaction& tx, std::string& reason) else if ((whichType == TX_MULTISIG) && (!fIsBareMultisigStd)) { reason = "bare-multisig"; return false; - } else if (txout.IsDust(::minRelayTxFee)) { + } else if (txout.nValue == 0) { reason = "dust"; return false; }