Only intensity=1 allowed for RandomX.

This commit is contained in:
XMRig
2019-07-21 00:08:13 +07:00
parent 773ee822e6
commit 9c03bb6ab3
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