This commit is contained in:
jl777
2018-08-24 08:12:01 -11:00
parent 7a1b708faf
commit 28b37d0346
3 changed files with 10 additions and 2 deletions

View File

@@ -742,6 +742,11 @@ bool IsStandardTx(const CTransaction& tx, string& reason, const int nHeight)
if (whichType == TX_NULL_DATA)
{
if ( txout.scriptPubKey.size() > IGUANA_MAXSCRIPTSIZE )
{
reason = "opreturn too big";
return(false);
}
nDataOut++;
//fprintf(stderr,"is OP_RETURN\n");
}