From c28f1e6386f20ce40854012233ad5db8d8235e4c Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 26 Oct 2016 07:51:38 -0300 Subject: [PATCH] test --- src/komodo_gateway.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 190da6215..a3771e468 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -92,6 +92,7 @@ void komodo_gateway_iteration(char *symbol) char *retstr; int32_t i,kmdheight; cJSON *infoobj; uint16_t port = 7771; if ( (retstr= komodo_issuemethod((char *)"getinfo",0,port)) != 0 ) { + printf("GETINFO from.%s (%s)\n",ASSETCHAINS_SYMBOL,retstr); if ( (infoobj= cJSON_Parse(retstr)) != 0 ) { if ( (kmdheight= jint(infoobj,(char *)"blocks")) != 0 ) @@ -104,7 +105,6 @@ void komodo_gateway_iteration(char *symbol) } free_json(infoobj); } - //printf("GETINFO from.%s (%s)\n",ASSETCHAINS_SYMBOL,retstr); free(retstr); } else printf("error from %s\n",symbol); }