From 7552abb8757f0efc73aac8417a7fe7912f5aa251 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 5 Jun 2017 14:21:38 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_quotes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_quotes.c b/iguana/exchanges/LP_quotes.c index 42c5aa718..2b0a6e732 100644 --- a/iguana/exchanges/LP_quotes.c +++ b/iguana/exchanges/LP_quotes.c @@ -249,7 +249,7 @@ cJSON *LP_autotrade(struct LP_utxoinfo *myutxo,char *base,double maxprice) maxprice = LP_price(base,myutxo->coin) / 0.975; if ( (array= LP_tradecandidates(myutxo,base)) != 0 ) { - printf("candidates.(%s)\n",jprint(array,0)); + printf("candidates.(%s)\nn.%d",jprint(array,0),cJSON_GetArraySize(array)); if ( (n= cJSON_GetArraySize(array)) > 0 ) { memset(prices,0,sizeof(prices));