Browse Source

Test

etomic
jl777 7 years ago
parent
commit
129ff364f1
  1. 1
      iguana/exchanges/LP_rpc.c

1
iguana/exchanges/LP_rpc.c

@ -683,6 +683,7 @@ cJSON *LP_listreceivedbyaddress(char *symbol,char *coinaddr)
return(cJSON_Parse("{\"error\":\"no coin\"}")); return(cJSON_Parse("{\"error\":\"no coin\"}"));
if ( coin->electrum == 0 ) if ( coin->electrum == 0 )
{ {
sprintf(buf,"[1, false, true]");
if ( (array= bitcoin_json(coin,"listreceivedbyaddress",buf)) != 0 ) if ( (array= bitcoin_json(coin,"listreceivedbyaddress",buf)) != 0 )
{ {
if ( (n= cJSON_GetArraySize(array)) > 0 ) if ( (n= cJSON_GetArraySize(array)) > 0 )

Loading…
Cancel
Save