This commit is contained in:
jl777
2019-01-31 02:04:06 -11:00
parent 6b3d8f710d
commit ba0a1b5ae4

View File

@@ -3000,9 +3000,9 @@ bool sudoku_validate(struct CCcontract_info *cp,int32_t height,Eval *eval,const
fprintf(stderr,"%u ",timestamps[i]);
if ( (timestamps[i] == 0 && unsolved[i] >= '1' && unsolved[i] <= '9') || (timestamps[i] != 0 && (unsolved[i] < '1' || unsolved[i] > '9')) )
{
fprintf(stderr,"i.%d invalid timestamp vs unsolved.[%c] %s\n",i,unsolved[i],unsolved);
if ( strcmp(ASSETCHAINS_SYMBOL,"SUDOKU") != 0 || height != 1220 )
if ( strcmp(ASSETCHAINS_SYMBOL,"SUDOKU") != 0 || (height != 1220 && height != 1383) )
return eval->Invalid("invalid timestamp vs unsolved");
else fprintf(stderr,"i.%d invalid timestamp vs unsolved.[%c] %s\n",i,unsolved[i],unsolved);
}
}
if ( dupree_solver(0,&score,unsolved) != 1 )