Merge xmrig v6.16.3 into master

This commit is contained in:
MoneroOcean 2022-01-25 18:56:52 +00:00
commit 2a53e73ed5
18 changed files with 159 additions and 48 deletions

View file

@ -553,7 +553,13 @@ void xmrig::Miner::setJob(const Job &job, bool donate)
# ifdef XMRIG_ALGO_RANDOMX
if (job.algorithm().family() == Algorithm::RANDOM_X && !Rx::isReady(job)) {
stop();
if (d_ptr->algorithm != job.algorithm()) {
stop();
}
else {
Nonce::pause(true);
Nonce::touch();
}
}
# endif