|
|
@ -903,6 +903,7 @@ cJSON *basilisk_remember(int64_t *KMDtotals,int64_t *BTCtotals,uint32_t requesti |
|
|
|
otheraddr[0] = 0; |
|
|
|
claimtime = (uint32_t)time(NULL) - 777; |
|
|
|
srcAdest = srcBdest = destAdest = destBdest = 0; |
|
|
|
printf("request.%u quoteid.%u\n",requestid,quoteid); |
|
|
|
if ( rswap.bobcoin[0] == 0 || rswap.alicecoin[0] == 0 || strcmp(rswap.bobcoin,rswap.src) != 0 || strcmp(rswap.alicecoin,rswap.dest) != 0 ) |
|
|
|
{ |
|
|
|
//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);
|
|
|
@ -915,6 +916,7 @@ cJSON *basilisk_remember(int64_t *KMDtotals,int64_t *BTCtotals,uint32_t requesti |
|
|
|
} |
|
|
|
alice = LP_coinfind(rswap.alicecoin); |
|
|
|
bob = LP_coinfind(rswap.bobcoin); |
|
|
|
printf("request.%u quoteid.%u alice.%s bob.%s\n",requestid,quoteid,alice!=0?alice->symbol:"",bob!=0?bob->symbol:""); |
|
|
|
rswap.Atxfee = LP_txfeecalc(alice,rswap.Atxfee,0); |
|
|
|
rswap.Btxfee = LP_txfeecalc(bob,rswap.Btxfee,0); |
|
|
|
if ( rswap.iambob == 0 ) |
|
|
|