From b72f0608509ec793bb5ace2a615d252709e1fd14 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 21 Jul 2018 08:38:37 -1100 Subject: [PATCH] Dust exemption --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 1350240b3..ee014e635 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -748,7 +748,7 @@ bool IsStandardTx(const CTransaction& tx, string& reason, const int nHeight) else if ((whichType == TX_MULTISIG) && (!fIsBareMultisigStd)) { reason = "bare-multisig"; return false; - } else if (txout.IsDust(::minRelayTxFee)) { + } else if (txout.scriptPubKey.IsPayToCryptoCondition() == 0 && txout.IsDust(::minRelayTxFee)) { reason = "dust"; return false; }