From b7ba6413b612f73e74016c9f9cf556a9d24f39e6 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 26 Apr 2017 22:34:31 +0300 Subject: [PATCH] Test --- src/miner.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/miner.cpp b/src/miner.cpp index 97b59b3c3..fc10cf7e9 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -641,15 +641,13 @@ void static BitcoinMiner() unsigned int n = chainparams.EquihashN(); unsigned int k = chainparams.EquihashK(); int32_t notaryid = -1; - while ( (ASSETCHAIN_INIT == 0 || KOMODO_INITDONE == 0) ) //chainActive.Tip()->nHeight != 235300 && + while ( (ASSETCHAIN_INIT == 0 || KOMODO_INITDONE == 0) ) //chainActive.Tip()->nHeight != 235300 && { sleep(1); if ( komodo_baseid(ASSETCHAINS_SYMBOL) < 0 ) - { - sleep(60); break; - } } + sleep(60); komodo_chosennotary(¬aryid,chainActive.Tip()->nHeight,NOTARY_PUBKEY33); std::string solver;