Fixes for build without cn-lite and cn-heavy.

This commit is contained in:
XMRig
2018-04-12 11:38:43 +07:00
parent 958e5f8334
commit c47687daa3
8 changed files with 56 additions and 9 deletions

View File

@@ -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;
}