Browse Source

Test

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

2
iguana/exchanges/LP_remember.c

@ -480,7 +480,7 @@ cJSON *LP_swap_json(struct LP_swap_remember *rswap)
{ {
jaddstr(item,"status","finished"); jaddstr(item,"status","finished");
if ( rswap->iambob == 0 ) if ( rswap->iambob == 0 )
jaddnum(item,"finishtime",LP_txtime(rswap->dest,rswap->paymentspent)); jaddnum(item,"finishtime",LP_txtime(rswap->src,rswap->paymentspent));
else jaddnum(item,"finishtime",LP_txtime(rswap->src,rswap->depositspent)); else jaddnum(item,"finishtime",LP_txtime(rswap->src,rswap->depositspent));
} }
else jaddstr(item,"status","pending"); else jaddstr(item,"status","pending");

Loading…
Cancel
Save