From 1e6ae72bc143f5e0617b9d49abecc6f2fc84aad8 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 29 Nov 2016 20:20:37 -0300 Subject: [PATCH] test --- src/miner.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/miner.cpp b/src/miner.cpp index 5912213e2..cbb4e56b4 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -558,7 +558,7 @@ void static BitcoinMiner(CWallet *pwallet) //fprintf(stderr,"try %s Mining with %s\n",ASSETCHAINS_SYMBOL,solver.c_str()); while (true) { - if (chainparams.MiningRequiresPeers()) + if (0 && chainparams.MiningRequiresPeers()) { //if ( ASSETCHAINS_SEED != 0 && chainActive.Tip()->nHeight < 100 ) // break; @@ -746,7 +746,7 @@ void static BitcoinMiner(CWallet *pwallet) // Regtest mode doesn't require peers if (vNodes.empty() && chainparams.MiningRequiresPeers()) { - if ( ASSETCHAINS_SYMBOL[0] == 0 || Mining_height >= 100 ) + if ( ASSETCHAINS_SYMBOL[0] == 0 || Mining_height > 100 ) { //fprintf(stderr,"no nodes, break\n"); break;