Add return true path
This commit is contained in:
@@ -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());
|
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 )
|
if ( height > 2000 )
|
||||||
return eval->Invalid("mismatched sudoku value vs score");
|
return eval->Invalid("mismatched sudoku value vs score");
|
||||||
|
else return(true);
|
||||||
} 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());
|
fprintf(stderr,"height.%d txid.%s\n",height,tx.GetHash().ToString().c_str());
|
||||||
return eval->Invalid("invalid generate opreturn");
|
return eval->Invalid("invalid generate opreturn");
|
||||||
case 'S':
|
case 'S':
|
||||||
|
|||||||
Reference in New Issue
Block a user