From 5a74e4db586b60402d1c9dc09334aa17a5373065 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 5 Jun 2017 19:06:38 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_commands.c b/iguana/exchanges/LP_commands.c index e46448767..21ffd8ca2 100644 --- a/iguana/exchanges/LP_commands.c +++ b/iguana/exchanges/LP_commands.c @@ -304,7 +304,7 @@ char *stats_JSON(cJSON *argjson,char *remoteaddr,uint16_t port) // from rpc port else if ( IAMCLIENT == 0 && strcmp(method,"getutxos") == 0 && (coin= jstr(argjson,"coin")) != 0 ) { retstr = LP_utxos(LP_mypeer,coin,jint(argjson,"lastn")); - //printf("RETURN.(%s)\n",retstr); + printf("RETURN. %d utxos\n",cJSON_GetArraySize(cJSON_Parse(retstr))); } else if ( IAMCLIENT == 0 && strcmp(method,"notify") == 0 ) retstr = clonestr("{\"result\":\"success\",\"notify\":\"received\"}");