Only intensity=1 allowed for RandomX.

This commit is contained in:
XMRig 2019-07-21 00:08:13 +07:00
parent d1705a7f74
commit 162c3f3d32
2 changed files with 22 additions and 22 deletions

View file

@ -94,7 +94,7 @@ bool xmrig::CpuWorker<N>::selfTest()
{
# ifdef XMRIG_ALGO_RANDOMX
if (m_algorithm.family() == Algorithm::RANDOM_X) {
return true;
return N == 1;
}
# endif