From 10e93f5fc98186328298e7ff2e0b64c38262e952 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 7 Feb 2018 18:02:10 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_remember.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/iguana/exchanges/LP_remember.c b/iguana/exchanges/LP_remember.c index 2b2866d02..b5b7cff29 100644 --- a/iguana/exchanges/LP_remember.c +++ b/iguana/exchanges/LP_remember.c @@ -930,7 +930,11 @@ cJSON *basilisk_remember(int64_t *KMDtotals,int64_t *BTCtotals,uint32_t requesti //return(cJSON_Parse("{\"error\":\"mismatched bob/alice vs src/dest coins??\"}")); } alice = LP_coinfind(rswap.alicecoin); + if ( alice->etomic[0] != 0 ) + alice = LP_coinfind("ETOMIC"); bob = LP_coinfind(rswap.bobcoin); + if ( bob->etomic[0] != 0 ) + bob = LP_coinfind("ETOMIC"); rswap.Atxfee = LP_txfeecalc(alice,rswap.Atxfee,0); rswap.Btxfee = LP_txfeecalc(bob,rswap.Btxfee,0); if ( rswap.iambob == 0 )