mirror of
https://github.com/xmrig/xmrig.git
synced 2026-01-23 06:52:33 -05:00
Added workaround for nicehash.com if you use cryptonightv7.<region>.nicehash.com option variant=1 will be set automatically.
This commit is contained in:
@@ -180,6 +180,10 @@ void Url::adjust(int algo)
|
||||
if (strstr(m_host, ".nicehash.com")) {
|
||||
m_keepAlive = false;
|
||||
m_nicehash = true;
|
||||
|
||||
if (strstr(m_host, "cryptonightv7.")) {
|
||||
m_variant = xmrig::VARIANT_V1;
|
||||
}
|
||||
}
|
||||
|
||||
if (strstr(m_host, ".minergate.com")) {
|
||||
|
||||
Reference in New Issue
Block a user