This commit is contained in:
jl777
2016-11-21 18:28:30 -03:00
parent ce71f7729c
commit 7a82f2fc73
2 changed files with 2 additions and 4 deletions

View File

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

View File

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