test
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user