From b1eb97db93d8f990866e539c496014111ba411fc Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 26 Oct 2016 07:44:49 -0300 Subject: [PATCH] test --- src/komodo_gateway.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index a7f60d416..80a169b4a 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -60,7 +60,7 @@ void komodo_gateway_tx(int32_t height,int32_t txi,char *txidstr,uint32_t port) } } -int32_t komodo_gateway_block(int32_t height,uint16_t port) +void komodo_gateway_block(int32_t height,uint16_t port) { char *retstr,*retstr2,params[128]; int32_t i,n; cJSON *json,*tx; sprintf(params,"[%d]",height); @@ -89,7 +89,7 @@ int32_t komodo_gateway_block(int32_t height,uint16_t port) void komodo_gateway_iteration(char *symbol) { - char *retstr,*coinaddr; int32_t i,kmdheight; cJSON *array,*infoobj; uint16_t port = 7771; + char *retstr,*coinaddr; int32_t i,kmdheight; cJSON *infoobj; uint16_t port = 7771; if ( (retstr= komodo_issuemethod((char *)"getinfo",0,port)) != 0 ) { if ( (infoobj= cJSON_Parse(retstr)) != 0 )