aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic
diff options
context:
space:
mode:
authorDoyle <doylet@protonmail.com>2019-04-15 13:08:33 +1000
committerDoyle <doylet@protonmail.com>2019-04-15 13:08:33 +1000
commit6643b04737d58a84427e6b8c04f56b0326dc5e00 (patch)
treead32bf83ce00ad57868cb2da2316fdfced652ad4 /src/cryptonote_basic
parentMerge pull request #5423 (diff)
downloadmonero-6643b04737d58a84427e6b8c04f56b0326dc5e00.tar.xz
Increment m_threads_active when mining thread starts
Diffstat (limited to 'src/cryptonote_basic')
-rw-r--r--src/cryptonote_basic/miner.cpp1
1 files changed, 1 insertions, 0 deletions
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