Small fixes.

This commit is contained in:
XMRig 2018-04-06 23:32:54 +07:00
parent c227e3c7b4
commit 3a67ee6d11
3 changed files with 17 additions and 8 deletions

View file

@ -116,7 +116,7 @@ bool SingleWorker::selfTest()
}
# endif
return memcmp(m_result.result, test_output_heavy, 32) == 0;
return m_thread->algorithm() == xmrig::CRYPTONIGHT_HEAVY && memcmp(m_result.result, test_output_heavy, 32) == 0;
}