Added test hashes for AEON.

This commit is contained in:
XMRig 2018-03-13 01:29:31 +07:00
parent aec31c43c0
commit 125072a30e
3 changed files with 35 additions and 16 deletions

View file

@ -173,11 +173,15 @@ int Job::variant() const
const uint8_t version = m_blob[0];
# if !defined(XMRIG_NO_AEON)
if (m_algo == xmrig::ALGO_CRYPTONIGHT) {
return version > 6 ? 1 : 0;
}
return version > 1 ? 1 : 0;
# else
return version > 6 ? 1 : 0;
# endif
}