Browse Source

Test

etomic
jl777 8 years ago
parent
commit
8542917aea
  1. 2
      iguana/exchanges/LP_quotes.c

2
iguana/exchanges/LP_quotes.c

@ -208,7 +208,7 @@ cJSON *LP_tradecandidates(struct LP_utxoinfo *myutxo,char *base)
{ {
if ( (utxostr= issue_LP_clientgetutxos(peer->ipaddr,peer->port,base,100)) != 0 ) if ( (utxostr= issue_LP_clientgetutxos(peer->ipaddr,peer->port,base,100)) != 0 )
{ {
//printf("%s:%u %s\n",peer->ipaddr,peer->port,utxostr); printf("%s:%u %s %s\n",peer->ipaddr,peer->port,base,utxostr);
if ( (array= cJSON_Parse(utxostr)) != 0 ) if ( (array= cJSON_Parse(utxostr)) != 0 )
{ {
if ( is_cJSON_Array(array) != 0 && (n= cJSON_GetArraySize(array)) > 0 ) if ( is_cJSON_Array(array) != 0 && (n= cJSON_GetArraySize(array)) > 0 )

Loading…
Cancel
Save