Increment m_threads_active when mining thread starts

This commit is contained in:
Doyle 2019-04-15 13:08:33 +10:00
parent 37345921ec
commit 6643b04737
1 changed files with 1 additions and 0 deletions

View File

@ -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