Skip to content

Commit

Permalink
Increment m_threads_active when mining thread starts
Browse files Browse the repository at this point in the history
  • Loading branch information
Doy-lee committed Apr 15, 2019
1 parent 3734592 commit 6643b04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cryptonote_basic/miner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6643b04

Please sign in to comment.