Moved from PerfAlgo to Algo in threads to removed not really used cn-fast threads setup
This commit is contained in:
parent
0f880db56f
commit
67ed81f1ec
5 changed files with 45 additions and 44 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue