From a5dd4ce71e43a1f828c172eda8ab4f3c825d02f5 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 14 Sep 2017 16:21:31 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_rpc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_rpc.c b/iguana/exchanges/LP_rpc.c index 065414f1d..f80667c22 100644 --- a/iguana/exchanges/LP_rpc.c +++ b/iguana/exchanges/LP_rpc.c @@ -354,7 +354,8 @@ cJSON *LP_gettxout(char *symbol,bits256 txid,int32_t vout) cJSON *LP_listunspent(char *symbol,char *coinaddr) { char buf[128]; cJSON *retjson; struct iguana_info *coin = LP_coinfind(symbol); - if ( coin == 0 ) + printf("LP_listunspent.(%s %s)\n",symbol,coinaddr); + if ( coin == 0 || coin->inactive != 0 ) return(cJSON_Parse("{\"error\":\"no coin\"}")); if ( coin->electrum == 0 ) {