Add return true path

This commit is contained in:
jl777
2019-01-31 00:48:57 -11:00
parent 0a0d310f7f
commit d23000ccf5

View File

@@ -2965,10 +2965,9 @@ bool sudoku_validate(struct CCcontract_info *cp,int32_t height,Eval *eval,const
fprintf(stderr,"ht.%d score.%d vs %.8f %s\n",height,score,(double)tx.vout[1].nValue/COIN,tx.GetHash().ToString().c_str());
if ( height > 2000 )
return eval->Invalid("mismatched sudoku value vs score");
else return(true);
} else return(true);
}
else if ( height == 123 ) // early version invalid gen
return(true);
fprintf(stderr,"height.%d txid.%s\n",height,tx.GetHash().ToString().c_str());
return eval->Invalid("invalid generate opreturn");
case 'S':