Browse Source

Test

etomic
jl777 7 years ago
parent
commit
6b6c76a977
  1. 5
      iguana/exchanges/LP_utxo.c

5
iguana/exchanges/LP_utxo.c

@ -633,6 +633,11 @@ cJSON *LP_balances(char *coinaddr)
item = cJSON_CreateObject();
jaddstr(item,"coin",coin->symbol);
jaddnum(item,"balance",dstr(balance));
if ( coin->electrum != 0 && strcmp(coinaddr,coin->smartaddr) == 0 && strcmp(coin->symbol,"KMD") == 0 )
{
jaddnum(item,"zcredits",dstr(LP_myzcredits()));
jadd(item,"zdebits",LP_myzdebits());
}
jaddi(array,item);
}
free_json(retjson);

Loading…
Cancel
Save