Small fixes.

This commit is contained in:
XMRig
2018-04-06 23:32:54 +07:00
parent 95a9341e01
commit 74063b9510
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;
}