Add [evalcode] to cclib roc

This commit is contained in:
jl777
2019-01-28 22:43:52 -11:00
parent 534c5ee516
commit 42a362165f
2 changed files with 21 additions and 6 deletions

View File

@@ -281,6 +281,7 @@ int32_t CClib_initcp(struct CCcontract_info *cp,uint8_t evalcode)
sprintf(&cp->CChexstr[i*2],"%02x",pub33[i]);
cp->CChexstr[i*2] = 0;
GetCCaddress(cp,cp->unspendableCCaddr,pk);
return(0);
}
}
return(-1);