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

@@ -353,7 +353,7 @@ bool ChannelsValidate(struct CCcontract_info *cp,Eval* eval,const CTransaction &
return eval->Invalid("unexpected channels funcid");
break;
}
}
} else return eval->Invalid("unexpected channels missing funcid");
retval = PreventCC(eval,tx,preventCCvins,numvins,preventCCvouts,numvouts);
if ( retval != 0 )
fprintf(stderr,"Channel tx validated\n");