#692 Add support for global algorithm variant.

This commit is contained in:
XMRig 2018-06-14 23:49:30 +07:00
parent 33d9094cdc
commit de6ee749fe
4 changed files with 16 additions and 11 deletions

View file

@ -68,7 +68,7 @@ DonateStrategy::DonateStrategy(int level, const char *user, xmrig::Algo algo, IS
}
for (Pool &pool : m_pools) {
pool.adjust(algo);
pool.adjust(xmrig::Algorithm(algo, xmrig::VARIANT_AUTO));
}
if (m_pools.size() > 1) {