From a43eb07d14c1e76fd4f4f6ccef99777ea17a20af Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 1 Jul 2017 13:06:35 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_coins.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_coins.c b/iguana/exchanges/LP_coins.c index d91394081..2230d33be 100644 --- a/iguana/exchanges/LP_coins.c +++ b/iguana/exchanges/LP_coins.c @@ -295,12 +295,12 @@ struct iguana_info *LP_coincreate(cJSON *item) { if ( strcmp("KMD",coin->symbol) != 0 ) { - if ( IAMLP == 0 || assetname != name ) + if ( IAMLP == 0 || assetname != name || (strcmp("ZEC",coin->symbol) != 0 && strcmp("HUSH",coin->symbol) != 0) ) coin->inactive = !jint(item,"active"); else coin->inactive = 0; if ( IAMLP != 0 && coin->inactive != 0 ) printf("LPnode %s disabled %p vs %p\n",coin->symbol,assetname,name); - } + } else coin->inactive = 0; } return(0); }