From 2e002e1680c780dd2d24d82b588df3234227a900 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 8 Dec 2017 14:27:44 +0400 Subject: [PATCH] Test --- iguana/exchanges/LP_remember.c | 2 +- iguana/exchanges/LP_scan.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_remember.c b/iguana/exchanges/LP_remember.c index a64138081..452b34f0e 100644 --- a/iguana/exchanges/LP_remember.c +++ b/iguana/exchanges/LP_remember.c @@ -895,7 +895,7 @@ cJSON *basilisk_remember(int64_t *KMDtotals,int64_t *BTCtotals,uint32_t requesti srcAdest = srcBdest = destAdest = destBdest = 0; if ( rswap.bobcoin[0] == 0 || rswap.alicecoin[0] == 0 || strcmp(rswap.bobcoin,rswap.src) != 0 || strcmp(rswap.alicecoin,rswap.dest) != 0 ) { - //printf("legacy DB SWAPS.(%u %u) %llu files BOB.(%s) Alice.(%s) src.(%s) dest.(%s)\n",rswap.requestid,rswap.quoteid,(long long)rswap.aliceid,rswap.bobcoin,rswap.alicecoin,rswap.src,rswap.dest); + printf("legacy r%u-q%u DB SWAPS.(%u %u) %llu files BOB.(%s) Alice.(%s) src.(%s) dest.(%s)\n",requestid,quoteid,rswap.requestid,rswap.quoteid,(long long)rswap.aliceid,rswap.bobcoin,rswap.alicecoin,rswap.src,rswap.dest); return(cJSON_Parse("{\"error\":\"mismatched bob/alice vs src/dest coins??\"}")); } alice = LP_coinfind(rswap.alicecoin); diff --git a/iguana/exchanges/LP_scan.c b/iguana/exchanges/LP_scan.c index 850852f23..defc1b0cd 100644 --- a/iguana/exchanges/LP_scan.c +++ b/iguana/exchanges/LP_scan.c @@ -26,7 +26,7 @@ int32_t LP_blockinit(struct iguana_info *coin,int32_t height) { if ( (txs= jarray(&numtx,blockobj,"tx")) != 0 ) { - printf("LP_blockinit %s ht.%d numtx.%d\n",coin->symbol,height,numtx); + //printf("LP_blockinit %s ht.%d numtx.%d\n",coin->symbol,height,numtx); for (iter=0; iter<2; iter++) { txobj = 0;