From a9bb99d2fe07aa0562e5a4c9620490757b622606 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 19 Nov 2016 16:21:34 -0300 Subject: [PATCH] test --- src/komodo_bitcoind.h | 2 +- src/komodo_events.h | 2 +- src/komodo_gateway.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index 08a02f097..ebe2b8079 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -539,7 +539,7 @@ int32_t komodo_checkpoint(int32_t *notarized_heightp,int32_t nHeight,uint256 has } } else fprintf(stderr,"unexpected error notary_hash %s ht.%d at ht.%d\n",notarized_hash.ToString().c_str(),notarized_height,notary->nHeight); } else if ( notarized_height > 0 && notarized_height != 73880 ) - fprintf(stderr,"[%s] couldnt find notary_hash %s ht.%d\n",ASSETCHAINS_SYMBOL,notarized_hash.ToString().c_str(),notarized_height); + fprintf(stderr,"[%s] couldnt find notarized.(%s %d) ht.%d\n",ASSETCHAINS_SYMBOL,notarized_hash.ToString().c_str(),notarized_height,chainActive.Tip()->nHeight); return(0); } diff --git a/src/komodo_events.h b/src/komodo_events.h index 0e5439210..08b2db7fb 100644 --- a/src/komodo_events.h +++ b/src/komodo_events.h @@ -112,7 +112,7 @@ void komodo_event_rewind(struct komodo_state *sp,char *symbol,int32_t height) { if ( ep->height < height ) break; - printf("undo event.%c ht.%d for rewind.%d\n",ep->type,ep->height,height); + printf("[%s] undo %s event.%c ht.%d for rewind.%d\n",ASSETCHAINS_SYMBOL,symbol,ep->type,ep->height,height); komodo_event_undo(sp,ep); sp->Komodo_numevents--; } diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 0fb7cef87..5212b8d33 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -582,7 +582,7 @@ void komodo_passport_iteration() while ( komodo_parsestatefile(sp,fp,symbol,dest) >= 0 ) ; lastpos[baseid] = ftell(fp); - printf("from.(%s) lastpos[%s] %ld\n",ASSETCHAINS_SYMBOL,CURRENCIES[baseid],lastpos[baseid]); + //printf("from.(%s) lastpos[%s] %ld\n",ASSETCHAINS_SYMBOL,CURRENCIES[baseid],lastpos[baseid]); } //else fprintf(stderr,"%s.%ld ",CURRENCIES[baseid],ftell(fp)); fclose(fp); } else printf("fname.(%s) cant open\n",fname);