From 831733604d1cdd04f7dc863d6d3ea5ebd6c64354 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 12 Oct 2017 19:04:53 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_rpc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_rpc.c b/iguana/exchanges/LP_rpc.c index 2c0d49888..08aec9037 100644 --- a/iguana/exchanges/LP_rpc.c +++ b/iguana/exchanges/LP_rpc.c @@ -131,10 +131,10 @@ cJSON *bitcoin_json(struct iguana_info *coin,char *method,char *params) if ( coin->electrum == 0 ) { retstr = bitcoind_passthru(coin->symbol,coin->serverport,coin->userpass,method,params); + if ( strcmp("KMD",coin->symbol) == 0 ) + printf("%s: %s.%s -> (%s)\n",coin->symbol,method,params,retstr); if ( retstr != 0 && retstr[0] != 0 ) { - if ( strcmp("KMD",coin->symbol) == 0 ) - printf("%s: %s.%s -> (%s)\n",coin->symbol,method,params,retstr); retjson = cJSON_Parse(retstr); free(retstr); }