Small fixes.
This commit is contained in:
parent
c227e3c7b4
commit
3a67ee6d11
3 changed files with 17 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue