#607 Fixed donation bug.

This commit is contained in:
XMRig 2018-05-07 02:09:25 +07:00
parent a1c5afa383
commit c89889cc57
3 changed files with 7 additions and 3 deletions

View file

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