From 7a4a316fb6a8833867402ee1a01df1dec25b099a Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 22 Nov 2017 15:47:12 +0400 Subject: [PATCH] Test --- iguana/exchanges/LP_stats.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/iguana/exchanges/LP_stats.c b/iguana/exchanges/LP_stats.c index a02a14b02..24a9cf31c 100644 --- a/iguana/exchanges/LP_stats.c +++ b/iguana/exchanges/LP_stats.c @@ -306,7 +306,6 @@ int32_t LP_statslog_parsequote(char *method,cJSON *lineobj) strcpy(sp->alicegui,"nogui"); if ( sp->finished == 0 && sp->expired == 0 ) { - printf("add RT\n"); if ( (pubp= LP_pubkeyadd(sp->Q.srchash)) != 0 ) { ptr = calloc(1,sizeof(*ptr)); @@ -319,9 +318,7 @@ int32_t LP_statslog_parsequote(char *method,cJSON *lineobj) ptr->swap = sp; DL_APPEND(pubp->aliceswaps,ptr); } - } else printf("add completed\n"); - //LP_swapstats_line(numtrades,basevols,relvols,line,sp); - //printf("%s\n",line); + } } else printf("unexpected LP_swapstats_add failure\n"); } if ( sp != 0 ) @@ -412,7 +409,7 @@ cJSON *LP_statslog_disp(uint32_t starttime,uint32_t endtime,char *refgui,bits256 LP_stats_dispiter(array,sp,starttime,endtime,refbase,refrel,refgui,refpubkey); LP_swapscount++; } - printf("RT.%d completed.%d\n",LP_RTcount,LP_swapscount); + //printf("RT.%d completed.%d\n",LP_RTcount,LP_swapscount); jadd(retjson,"swaps",array); jaddnum(retjson,"RTcount",LP_RTcount); jaddnum(retjson,"swapscount",LP_swapscount);