This commit is contained in:
jl777
2016-10-29 12:21:57 -03:00
parent 1f759e717f
commit 024a4cd31f

View File

@@ -581,7 +581,7 @@ void static BitcoinMiner(CWallet *pwallet)
std::lock_guard<std::mutex> lock{m_cs};
cancelSolver = false;
}
fprintf(stderr,"Block found %d\n",pblock->nHeight);
fprintf(stderr,"Block found %d\n",pindexPrev->nHeight+1);
SetThreadPriority(THREAD_PRIORITY_LOWEST);
// In regression test mode, stop mining after a block is found.
if (chainparams.MineBlocksOnDemand()) {