Moved from PerfAlgo to Algo in threads to removed not really used cn-fast threads setup

This commit is contained in:
MoneroOcean 2018-08-06 10:40:55 +02:00
parent 0f880db56f
commit 67ed81f1ec
5 changed files with 45 additions and 44 deletions

View file

@ -223,7 +223,7 @@ void Workers::switch_algo(const xmrig::Algorithm& algorithm)
m_sequence = 1;
m_paused = 1;
const std::vector<xmrig::IThread *> &threads = m_controller->config()->threads(algorithm.perf_algo());
const std::vector<xmrig::IThread *> &threads = m_controller->config()->threads(algorithm.algo());
m_status.algo = algorithm.algo();
m_status.threads = threads.size();