Return eval->error

This commit is contained in:
jl777
2018-11-07 00:29:34 -11:00
parent 86cecf71d1
commit 4148e39f73
5 changed files with 9 additions and 9 deletions

View File

@@ -653,7 +653,7 @@ bool OraclesValidate(struct CCcontract_info *cp,Eval* eval,const CTransaction &t
break;
default:
fprintf(stderr,"illegal oracles funcid.(%c)\n",script[1]);
return(false);
return eval->Invalid("unexpected OraclesValidate funcid");
break;
}
}