initial commit to use CCopt for custom CC

This commit is contained in:
blackjok3r
2019-04-16 20:59:15 +08:00
parent 7f89532c03
commit 997f9ce5fc
4 changed files with 59 additions and 13 deletions

View File

@@ -796,7 +796,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.scriptPubKey.IsPayToCryptoCondition() == 0 && txout.IsDust(::minRelayTxFee)) {
} else if (whichType != TX_CRYPTOCONDITION && txout.IsDust(::minRelayTxFee)) {
reason = "dust";
return false;
}