test
This commit is contained in:
12
src/komodo.h
12
src/komodo.h
@@ -151,11 +151,13 @@ int32_t komodo_parsestatefile(struct komodo_state *sp,FILE *fp,char *symbol,char
|
|||||||
{
|
{
|
||||||
if ( fread(opret,1,olen,fp) != olen )
|
if ( fread(opret,1,olen,fp) != olen )
|
||||||
errs++;
|
errs++;
|
||||||
//if ( matched != 0 ) global shared state -> global PAX
|
if ( matched != 0 )
|
||||||
int32_t i; for (i=0; i<olen; i++)
|
{
|
||||||
printf("%02x",opret[i]);
|
int32_t i; for (i=0; i<olen; i++)
|
||||||
printf(" %s load[%s] opret[%c] len.%d %.8f\n",ASSETCHAINS_SYMBOL,symbol,opret[0],olen,(double)ovalue/COIN);
|
printf("%02x",opret[i]);
|
||||||
komodo_eventadd_opreturn(sp,symbol,ht,txid,ovalue,v,opret,olen);
|
printf(" %s.%d load[%s] opret[%c] len.%d %.8f\n",ASSETCHAINS_SYMBOL,ht,symbol,opret[0],olen,(double)ovalue/COIN);
|
||||||
|
}
|
||||||
|
komodo_eventadd_opreturn(sp,symbol,ht,txid,ovalue,v,opret,olen); // global shared state -> global PAX
|
||||||
} else printf("illegal olen.%u\n",olen);
|
} else printf("illegal olen.%u\n",olen);
|
||||||
}
|
}
|
||||||
else if ( func == 'D' )
|
else if ( func == 'D' )
|
||||||
|
|||||||
Reference in New Issue
Block a user