From aaab883ea35c28a0683d34bd4943ac5e9291a798 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 28 Nov 2017 18:23:55 +0400 Subject: [PATCH] Test --- iguana/exchanges/LP_instantdex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_instantdex.c b/iguana/exchanges/LP_instantdex.c index 181078b4f..c7c627d27 100644 --- a/iguana/exchanges/LP_instantdex.c +++ b/iguana/exchanges/LP_instantdex.c @@ -301,7 +301,7 @@ void LP_instantdex_proofcheck(char *coinaddr,cJSON *proof,int32_t num) { bitcoin_addr2rmd160(0,&addrtype,rmd160,coinaddr); bitcoin_address(othersmartaddr,0,60,rmd160,20); - if ((ap= LP_address(coin,othersmartaddr)) != 0 && ap->didinstantdex == 0 ) + if ((ap= LP_address(coin,othersmartaddr)) != 0 && (coin->electrum == 0 || ap->didinstantdex == 0) ) { ap->instantdex_credits = 0; for (i=0; i