Add algo-switch for ZLS.

This commit is contained in:
XMRig 2019-03-06 13:05:13 +07:00
parent 538c8fc9e1
commit 31e40943d0

View file

@ -140,6 +140,9 @@ bool xmrig::Job::setBlob(const char *blob)
else if (m_algorithm.variant() == VARIANT_RWZ && m_blob[0] < 12) {
m_algorithm.setVariant(VARIANT_2);
}
else if (m_algorithm.variant() == VARIANT_ZLS && m_blob[0] < 8) {
m_algorithm.setVariant(VARIANT_2);
}
}
# ifdef XMRIG_PROXY_PROJECT