mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-17 08:17:40 +00:00
Fix command line option "-a cn-heavy".
This commit is contained in:
parent
dab4239aca
commit
1d31f1b0b8
1 changed files with 4 additions and 1 deletions
|
@ -233,7 +233,10 @@ void Pool::adjust(xmrig::Algo algorithm)
|
|||
m_algorithm.setAlgo(algorithm);
|
||||
|
||||
if (m_algorithm.variant() == xmrig::VARIANT_AUTO) {
|
||||
if (algorithm == xmrig::CRYPTONIGHT) {
|
||||
if (algorithm == xmrig::CRYPTONIGHT_HEAVY) {
|
||||
m_algorithm.setVariant(xmrig::VARIANT_0);
|
||||
}
|
||||
else {
|
||||
m_algorithm.setVariant(xmrig::VARIANT_1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue