Prints
This commit is contained in:
@@ -311,7 +311,7 @@ int32_t komodo_parsestatefiledata(struct komodo_state *sp,uint8_t *filedata,long
|
|||||||
{
|
{
|
||||||
if ( memread(opret,olen,filedata,&fpos,datalen) != olen )
|
if ( memread(opret,olen,filedata,&fpos,datalen) != olen )
|
||||||
errs++;
|
errs++;
|
||||||
if ( 0 && ASSETCHAINS_SYMBOL[0] != 0 && matched != 0 )
|
if ( 1 && ASSETCHAINS_SYMBOL[0] != 0 && matched != 0 )
|
||||||
{
|
{
|
||||||
int32_t i; for (i=0; i<olen; i++)
|
int32_t i; for (i=0; i<olen; i++)
|
||||||
printf("%02x",opret[i]);
|
printf("%02x",opret[i]);
|
||||||
@@ -427,7 +427,7 @@ void komodo_stateupdate(int32_t height,uint8_t notarypubs[][33],uint8_t numnotar
|
|||||||
errs++;
|
errs++;
|
||||||
if ( fwrite(opretbuf,1,olen,fp) != olen )
|
if ( fwrite(opretbuf,1,olen,fp) != olen )
|
||||||
errs++;
|
errs++;
|
||||||
//printf("ht.%d R opret[%d] sp.%p\n",height,olen,sp);
|
printf("create ht.%d R opret[%d] sp.%p\n",height,olen,sp);
|
||||||
//komodo_opreturn(height,opretvalue,opretbuf,olen,txhash,vout);
|
//komodo_opreturn(height,opretvalue,opretbuf,olen,txhash,vout);
|
||||||
komodo_eventadd_opreturn(sp,symbol,height,txhash,opretvalue,vout,opretbuf,olen);
|
komodo_eventadd_opreturn(sp,symbol,height,txhash,opretvalue,vout,opretbuf,olen);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user