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
|
@ -116,7 +116,11 @@ bool SingleWorker::selfTest()
|
|||
}
|
||||
# endif
|
||||
|
||||
# ifndef XMRIG_NO_SUMO
|
||||
return m_thread->algorithm() == xmrig::CRYPTONIGHT_HEAVY && memcmp(m_result.result, test_output_heavy, 32) == 0;
|
||||
# else
|
||||
return false;
|
||||
# endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue