|
|
@ -112,7 +112,7 @@ int32_t komodo_parsestatefile(struct komodo_state *sp,FILE *fp,char *symbol,char |
|
|
|
errs++; |
|
|
|
if ( fread(&MoMdepth,1,sizeof(MoMdepth),fp) != sizeof(MoMdepth) ) |
|
|
|
errs++; |
|
|
|
if ( 1 && ASSETCHAINS_SYMBOL[0] != 0 && sp != 0 ) |
|
|
|
if ( 0 && ASSETCHAINS_SYMBOL[0] != 0 && sp != 0 ) |
|
|
|
printf("%s load[%s.%d -> %s] NOTARIZED %d %s MoM.%s %d CCid.%u\n",ASSETCHAINS_SYMBOL,symbol,sp->NUM_NPOINTS,dest,notarized_height,notarized_hash.ToString().c_str(),MoM.ToString().c_str(),MoMdepth&0xffff,(MoMdepth>>16)&0xffff); |
|
|
|
} |
|
|
|
else |
|
|
@ -257,7 +257,7 @@ int32_t komodo_parsestatefiledata(struct komodo_state *sp,uint8_t *filedata,long |
|
|
|
errs++; |
|
|
|
if ( memread(&MoMdepth,sizeof(MoMdepth),filedata,&fpos,datalen) != sizeof(MoMdepth) ) |
|
|
|
errs++; |
|
|
|
if ( 1 && ASSETCHAINS_SYMBOL[0] != 0 && sp != 0 ) |
|
|
|
if ( 0 && ASSETCHAINS_SYMBOL[0] != 0 && sp != 0 ) |
|
|
|
printf("%s load[%s.%d -> %s] NOTARIZED %d %s MoM.%s %d CCid.%u\n",ASSETCHAINS_SYMBOL,symbol,sp->NUM_NPOINTS,dest,notarized_height,notarized_hash.ToString().c_str(),MoM.ToString().c_str(),MoMdepth&0xffff,(MoMdepth>>16)&0xffff); |
|
|
|
} |
|
|
|
else |
|
|
|