From b1e4171eb7bc4ae17003baa4955c0f2a3bd90d58 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 12 Nov 2017 11:45:43 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_remember.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_remember.c b/iguana/exchanges/LP_remember.c index a25325258..75e582bd0 100644 --- a/iguana/exchanges/LP_remember.c +++ b/iguana/exchanges/LP_remember.c @@ -480,7 +480,7 @@ cJSON *LP_swap_json(struct LP_swap_remember *rswap) { jaddstr(item,"status","finished"); 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 jaddstr(item,"status","pending");