Merge pull request #60 from Spudz76/ocean-master-fixAsteriskProfile
Fix --threads generates "*" profile without "kawpow":false to negate it.
This commit is contained in:
commit
62b422d5b7
2 changed files with 7 additions and 1 deletions
|
@ -266,7 +266,7 @@ bool xmrig::CpuBackend::isEnabled() const
|
|||
|
||||
bool xmrig::CpuBackend::isEnabled(const Algorithm &algorithm) const
|
||||
{
|
||||
return !d_ptr->controller->config()->cpu().threads().get(algorithm).isEmpty();
|
||||
return algorithm.isValid() && !d_ptr->controller->config()->cpu().threads().get(algorithm).isEmpty();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue