Dust exemption

This commit is contained in:
jl777
2018-07-21 08:38:37 -11:00
parent 0e0cbec050
commit b72f060850

View File

@@ -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;
}