Browse Source

Test

etomic
jl777 7 years ago
parent
commit
2e002e1680
  1. 2
      iguana/exchanges/LP_remember.c
  2. 2
      iguana/exchanges/LP_scan.c

2
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);

2
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;

Loading…
Cancel
Save