Browse Source

Test

etomic
jl777 7 years ago
parent
commit
bf1199d606
  1. 2
      iguana/exchanges/LP_utxo.c

2
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);
}

Loading…
Cancel
Save