Fixes for build without cn-lite and cn-heavy.
This commit is contained in:
parent
a73ad9b089
commit
b13640e4a1
8 changed files with 56 additions and 9 deletions
|
@ -92,7 +92,7 @@ bool xmrig::CommonConfig::adjust()
|
|||
|
||||
bool xmrig::CommonConfig::isValid() const
|
||||
{
|
||||
return m_pools[0].isValid();
|
||||
return m_pools[0].isValid() && m_algorithm != INVALID_ALGO;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue