0
0
Fork 0
mirror of synced 2025-09-23 04:08:23 +00:00
This commit is contained in:
Tony Butler 2025-06-25 19:06:48 +07:00 committed by GitHub
commit 3e232029a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -352,7 +352,7 @@ void xmrig::CpuBackend::setJob(const Job &job)
const auto &cpu = d_ptr->controller->config()->cpu();
auto threads = cpu.get(d_ptr->controller->miner(), job.algorithm());
if (!d_ptr->threads.empty() && d_ptr->threads.size() == threads.size() && std::equal(d_ptr->threads.begin(), d_ptr->threads.end(), threads.begin())) {
if (!d_ptr->threads.empty() && d_ptr->threads.size() == threads.size() && std::equal(d_ptr->threads.begin(), d_ptr->threads.end(), threads.begin()) && d_ptr->algo == job.algorithm()) {
return;
}