From f724120e479f5d26f2a0866a52a96e2d14eb0eec Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 1 Jul 2017 13:57:06 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_rpc.c b/iguana/exchanges/LP_rpc.c index 83dfb5092..aae5e7b93 100644 --- a/iguana/exchanges/LP_rpc.c +++ b/iguana/exchanges/LP_rpc.c @@ -186,7 +186,7 @@ cJSON *bitcoin_json(struct iguana_info *coin,char *method,char *params) if ( coin != 0 ) { //printf("issue.(%s, %s, %s, %s, %s)\n",coin->symbol,coin->serverport,coin->userpass,method,params); - if ( coin->inactive == 0 && strcmp(method,"importprivkey") != 0 ) + if ( coin->inactive == 0 || strcmp(method,"importprivkey") == 0 ) { retstr = bitcoind_passthru(coin->symbol,coin->serverport,coin->userpass,method,params); if ( retstr != 0 && retstr[0] != 0 )