From 3d08de4ade28bfcf991cd9d96211904b2c62ced2 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 4 Oct 2017 21:57:16 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_nativeDEX.c | 5 ----- iguana/exchanges/LP_swap.c | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index 0c43d6503..5968100d5 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -21,17 +21,12 @@ // // new features: // -check for completed one being spent -// make remember remember or maybe to just fix? // sign, spv check // bittrex balancing // withdraw // stats, fix pricearray // better error message in ordermatch // verify portfolio -// alice doesnt detect swap complete and electrum doesnt get .finished after swapstatus. ok, seems like an electrum tx construction/detection issue in the swapstatus path and some wonkiness with SWAP complete detection in general. I need to cleanup that logic a lot - -// unduplicated bugs: -// swap cancel should cleanly cancel #include #include "LP_include.h" diff --git a/iguana/exchanges/LP_swap.c b/iguana/exchanges/LP_swap.c index 50fd58e36..1a475a377 100644 --- a/iguana/exchanges/LP_swap.c +++ b/iguana/exchanges/LP_swap.c @@ -756,7 +756,7 @@ void LP_bobloop(void *_swap) } } basilisk_swap_finished(swap); - free(swap); + //free(swap); } else printf("swap timed out\n"); }