From c5b295d857d38a4ba091b3b950164f0bbf461f2a Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 12 Dec 2016 09:28:23 +0200 Subject: [PATCH] test --- src/miner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/miner.cpp b/src/miner.cpp index 38c3fc22d..d75e80fe9 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -128,7 +128,7 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn) while ( KOMODO_ON_DEMAND == 0 ) { deposits = komodo_paxtotal(); - if ( KOMODO_INITDONE == 0 || komodo_baseid(ASSETCHAINS_SYMBOL) < 0 || (isrealtime= komodo_isrealtime(&kmdheight)) == 0 ) + if ( KOMODO_INITDONE == 0 || (komodo_baseid(ASSETCHAINS_SYMBOL) >= 0 && (isrealtime= komodo_isrealtime(&kmdheight)) == 0) ) { //fprintf(stderr,"INITDONE.%d RT.%d deposits %.8f ht.%d\n",KOMODO_INITDONE,isrealtime,(double)deposits/COIN,kmdheight); }