From f6d381515bbc16cca2017d72852af2a658ed92bc Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 2 Nov 2016 05:37:26 -0300 Subject: [PATCH] test --- iguana/iguana_notary.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/iguana_notary.c b/iguana/iguana_notary.c index 69553c4f5..09b5b2ddd 100755 --- a/iguana/iguana_notary.c +++ b/iguana/iguana_notary.c @@ -262,14 +262,14 @@ char *dpow_passthru(struct iguana_info *coin,char *function,char *hex) TWO_STRINGS(zcash,passthru,function,hex) { - if ( (coin= iguana_coinfind("ZEC")) != 0 || coin->chain->serverport[0] == 0 ) + if ( (coin= iguana_coinfind("ZEC")) != 0 && coin->chain->serverport[0] != 0 ) return(dpow_passthru(coin,function,hex)); else return(clonestr("{\"error\":\"ZEC not active, start in bitcoind mode\"}")); } TWO_STRINGS(komodo,passthru,function,hex) { - if ( (coin= iguana_coinfind("KMD")) != 0 || coin->chain->serverport[0] == 0 ) + if ( (coin= iguana_coinfind("KMD")) != 0 && coin->chain->serverport[0] != 0 ) return(dpow_passthru(coin,function,hex)); else return(clonestr("{\"error\":\"KMD not active, start in bitcoind mode\"}")); }