From 00f5a101a0abe72809822ae4f2310b344ccc39c5 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 23 Nov 2017 15:49:29 +0400 Subject: [PATCH] Test --- iguana/exchanges/LP_stats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_stats.c b/iguana/exchanges/LP_stats.c index cdf51c025..b3eb1d2cf 100644 --- a/iguana/exchanges/LP_stats.c +++ b/iguana/exchanges/LP_stats.c @@ -199,7 +199,7 @@ int32_t LP_swapstats_update(struct LP_swapstats *sp,struct LP_quoteinfo *qp,cJSO } else { - if ( requestid == sp->Q.R.requestid && quoteid == sp->Q.R.quoteid ) + //if ( requestid == sp->Q.R.requestid && quoteid == sp->Q.R.quoteid ) printf("mismatched tradestatus aliceid.%22llu b%s/%s r%s/%s r%u/%u q%u/%u %.8f/%.8f -> %.8f/%.8f\n",(long long)sp->aliceid,base,sp->Q.srccoin,rel,sp->Q.destcoin,requestid,sp->Q.R.requestid,quoteid,sp->Q.R.quoteid,dstr(satoshis+2*sp->Q.txfee),dstr(sp->Q.satoshis),dstr(destsatoshis+2*sp->Q.desttxfee),dstr(sp->Q.destsatoshis)); return(-1); } @@ -302,7 +302,7 @@ int32_t LP_statslog_parsequote(char *method,cJSON *lineobj) } else { - printf("create aliceid.%llu\n",(long long)aliceid); + //printf("create aliceid.%llu\n",(long long)aliceid); if ( (sp= LP_swapstats_add(aliceid,RTflag)) != 0 ) { sp->Q = Q;