From b172d7537d45a5e9086ec21db884c485290a6045 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 24 Nov 2018 03:54:34 -1100 Subject: [PATCH] Test --- src/miner.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/miner.cpp b/src/miner.cpp index a04654e0c..c6b69c28e 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -1555,14 +1555,15 @@ void static BitcoinMiner() } while (true) { - if ( KOMODO_INSYNC == 0 ) + /*if ( KOMODO_INSYNC == 0 ) { KOMODO_LONGESTCHAIN = komodo_longestchain(); fprintf(stderr,"Mining when blockchain might not be in sync longest.%d vs %d\n",KOMODO_LONGESTCHAIN,Mining_height); if ( KOMODO_LONGESTCHAIN != 0 && Mining_height >= KOMODO_LONGESTCHAIN ) KOMODO_INSYNC = Mining_height; sleep(3); - } + }*/ + komodo_longestchain(); // Hash state KOMODO_CHOSEN_ONE = 0;