diff --git a/src/main.cpp b/src/main.cpp index 840ab46f6..e2da7de1b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -678,7 +678,7 @@ bool IsStandardTx(const CTransaction& tx, string& reason) { if (!::IsStandard(txout.scriptPubKey, whichType)) { - reason = "scriptpubkeyA"; + reason = "scriptpubkey"; fprintf(stderr,">>>>>>>>>>>>>>> vout.%d nDataout.%d\n",v,nDataOut); return false; } @@ -686,7 +686,7 @@ bool IsStandardTx(const CTransaction& tx, string& reason) if (whichType == TX_NULL_DATA) { nDataOut++; - fprintf(stderr,"is OP_RETURN\n"); + //fprintf(stderr,"is OP_RETURN\n"); } else if ((whichType == TX_MULTISIG) && (!fIsBareMultisigStd)) { reason = "bare-multisig"; diff --git a/src/script/standard.cpp b/src/script/standard.cpp index d0ec61632..71838853d 100644 --- a/src/script/standard.cpp +++ b/src/script/standard.cpp @@ -205,8 +205,6 @@ bool IsStandard(const CScript& scriptPubKey, txnouttype& whichType) if (m < 1 || m > n) return false; } - if ( whichType == TX_NONSTANDARD ) - fprintf(stderr,"IsStandard nonstandard tx\n"); return whichType != TX_NONSTANDARD; }