Browse Source

Test

etomic
jl777 7 years ago
parent
commit
addbb66d52
  1. 10
      iguana/exchanges/LP_remember.c

10
iguana/exchanges/LP_remember.c

@ -842,14 +842,14 @@ cJSON *basilisk_remember(int64_t *KMDtotals,int64_t *BTCtotals,uint32_t requesti
if ( alice != 0 ) if ( alice != 0 )
{ {
//bitcoin_address(rswap.Adestaddr,alice->taddr,alice->pubtype,rswap.pubkey33,33); //bitcoin_address(rswap.Adestaddr,alice->taddr,alice->pubtype,rswap.pubkey33,33);
AAdest = Adest = rswap.Adestaddr; Adest = rswap.Adestaddr;
} }
if ( (bob= LP_coinfind(rswap.bobcoin)) != 0 ) if ( (bob= LP_coinfind(rswap.bobcoin)) != 0 )
{ {
bitcoin_address(rswap.Sdestaddr,bob->taddr,bob->pubtype,rswap.pubkey33,33); bitcoin_address(rswap.Sdestaddr,bob->taddr,bob->pubtype,rswap.pubkey33,33);
ABdest = rswap.Sdestaddr; AAdest = rswap.Sdestaddr;
} }
Bdest = rswap.destaddr; ABdest = Bdest = rswap.destaddr;
} }
else else
{ {
@ -861,9 +861,9 @@ cJSON *basilisk_remember(int64_t *KMDtotals,int64_t *BTCtotals,uint32_t requesti
if ( (alice= LP_coinfind(rswap.alicecoin)) != 0 ) if ( (alice= LP_coinfind(rswap.alicecoin)) != 0 )
{ {
bitcoin_address(rswap.Sdestaddr,alice->taddr,alice->pubtype,rswap.pubkey33,33); bitcoin_address(rswap.Sdestaddr,alice->taddr,alice->pubtype,rswap.pubkey33,33);
AAdest = ABdest = rswap.Sdestaddr; ABdest = rswap.Sdestaddr;
} }
Adest = rswap.Adestaddr; AAdest = Adest = rswap.Adestaddr;
} }
if ( bob == 0 || alice == 0 ) if ( bob == 0 || alice == 0 )
{ {

Loading…
Cancel
Save