From 45bd5e6e709ea68d23c17f5eed86a814b7aea981 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 12 Oct 2017 19:27:34 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_coins.c | 2 +- iguana/exchanges/LP_rpc.c | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/iguana/exchanges/LP_coins.c b/iguana/exchanges/LP_coins.c index 7cebd164f..224e3a435 100644 --- a/iguana/exchanges/LP_coins.c +++ b/iguana/exchanges/LP_coins.c @@ -74,7 +74,7 @@ uint16_t LP_userpassfp(char *symbol,char *username,char *password,FILE *fp) if ( str != 0 ) { port = atoi(str); - printf("RPCPORT.%u\n",port); + //printf("RPCPORT.%u\n",port); free(str); } } diff --git a/iguana/exchanges/LP_rpc.c b/iguana/exchanges/LP_rpc.c index b2c7cf73c..aa6296325 100644 --- a/iguana/exchanges/LP_rpc.c +++ b/iguana/exchanges/LP_rpc.c @@ -131,7 +131,7 @@ 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 ) + if ( 0 && strcmp("KMD",coin->symbol) == 0 ) printf("%s.(%s %s): %s.%s -> (%s)\n",coin->symbol,coin->serverport,coin->userpass,method,params,retstr); if ( retstr != 0 && retstr[0] != 0 ) { @@ -256,11 +256,6 @@ cJSON *LP_gettx(char *symbol,bits256 txid) { sprintf(buf,"[\"%s\", 1]",bits256_str(str,txid)); retjson = bitcoin_json(coin,"getrawtransaction",buf); - if ( strcmp(symbol,"CHIPS") != 0 && strcmp(symbol,"BTC") != 0 ) - { - //if ( jobj(retjson,"vin") == 0 ) - printf("%s getrawtransaction %s -> %s\n",symbol,buf,jprint(retjson,0)); - } return(retjson); } else