From 6643b04737d58a84427e6b8c04f56b0326dc5e00 Mon Sep 17 00:00:00 2001 From: Doyle Date: Mon, 15 Apr 2019 13:08:33 +1000 Subject: [PATCH] Increment m_threads_active when mining thread starts --- src/cryptonote_basic/miner.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cryptonote_basic/miner.cpp b/src/cryptonote_basic/miner.cpp index e6c6bddb6..173679e21 100644 --- a/src/cryptonote_basic/miner.cpp +++ b/src/cryptonote_basic/miner.cpp @@ -528,6 +528,7 @@ namespace cryptonote uint32_t local_template_ver = 0; block b; slow_hash_allocate_state(); + ++m_threads_active; while(!m_stop) { if(m_pausers_count)//anti split workaround