From 65f47ad9e0c1a5994c3ef1b307fbec98a5d0a343 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 19 Mar 2017 18:11:33 +0200 Subject: [PATCH] Test --- src/komodo_gateway.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index d76e54b34..674051743 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -725,13 +725,13 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block) // verify above } return(0); } - while ( KOMODO_PASSPORT_INITDONE == 0 ) + /*while ( KOMODO_PASSPORT_INITDONE == 0 ) { fprintf(stderr,"."); sleep(3); } if ( KOMODO_PASSPORT_INITDONE == 0 ) // komodo_isrealtime(&ht) == 0 || init time already in DB - return(0); + return(0);*/ if ( baseid == USD && (height <= 4000 || komodo_isrealtime(&ht) == 0) ) return(0); } @@ -1208,7 +1208,7 @@ void komodo_passport_iteration() n++; } lastpos[baseid] = ftell(fp); - //if ( lastpos[baseid] == 0 && strcmp(symbol,"KMD") == 0 ) + if ( lastpos[baseid] == 0 && strcmp(symbol,"KMD") == 0 ) printf("from.(%s) lastpos[%s] %ld isrt.%d\n",ASSETCHAINS_SYMBOL,CURRENCIES[baseid],lastpos[baseid],komodo_isrealtime(&ht)); } //else fprintf(stderr,"%s.%ld ",CURRENCIES[baseid],ftell(fp)); fclose(fp);