From bf1199d606702181a18c8b9fc46a96827f1d1020 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 1 Dec 2017 22:50:40 +0400 Subject: [PATCH] Test --- iguana/exchanges/LP_utxo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_utxo.c b/iguana/exchanges/LP_utxo.c index c1611b654..9d48e6ba5 100644 --- a/iguana/exchanges/LP_utxo.c +++ b/iguana/exchanges/LP_utxo.c @@ -619,7 +619,7 @@ cJSON *LP_address_balance(struct iguana_info *coin,char *coinaddr,int32_t electr jaddstr(retjson,"coin",coin->symbol); jaddstr(retjson,"address",coinaddr); jaddnum(retjson,"balance",dstr(balance)); - if ( strcmp(coin->symbol,"KMD") == 0 ) + if ( strcmp(coin->symbol,"KMD") == 0 && strcmp(coin->smartaddr,coinaddr) == 0 ) jaddnum(retjson,"zcredits",dstr(LP_myzcredits())); return(retjson); }