Better error checking

This commit is contained in:
jl777
2018-11-07 00:53:32 -11:00
parent 9bd498e60e
commit 013c54955c
4 changed files with 8 additions and 8 deletions

View File

@@ -292,7 +292,7 @@ bool RewardsValidate(struct CCcontract_info *cp,Eval* eval,const CTransaction &t
return eval->Invalid("unexpected rewards funcid");
break;
}
}
} else return eval->Invalid("unexpected rewards missing funcid");
return(PreventCC(eval,tx,preventCCvins,numvins,preventCCvouts,numvouts));
}
return(true);