Browse Source

Test

etomic
jl777 8 years ago
parent
commit
0916bf42cf
  1. 3
      iguana/exchanges/LP_utxos.c

3
iguana/exchanges/LP_utxos.c

@ -252,8 +252,6 @@ cJSON *LP_utxojson(struct LP_utxoinfo *utxo)
char *LP_utxos(int32_t iambob,struct LP_peerinfo *mypeer,char *symbol,int32_t lastn) char *LP_utxos(int32_t iambob,struct LP_peerinfo *mypeer,char *symbol,int32_t lastn)
{ {
int32_t i,firsti,n; struct LP_utxoinfo *utxo,*tmp; cJSON *utxosjson = cJSON_CreateArray(); int32_t i,firsti,n; struct LP_utxoinfo *utxo,*tmp; cJSON *utxosjson = cJSON_CreateArray();
if ( symbol != 0 && symbol[0] != 0 )
{
i = 0; i = 0;
n = mypeer != 0 ? mypeer->numutxos : 0; n = mypeer != 0 ? mypeer->numutxos : 0;
if ( lastn <= 0 ) if ( lastn <= 0 )
@ -270,7 +268,6 @@ char *LP_utxos(int32_t iambob,struct LP_peerinfo *mypeer,char *symbol,int32_t la
jaddi(utxosjson,LP_utxojson(utxo)); jaddi(utxosjson,LP_utxojson(utxo));
} }
} }
}
return(jprint(utxosjson,1)); return(jprint(utxosjson,1));
} }

Loading…
Cancel
Save