Fixed switching from non RandomX algorithm to RandomX.

This commit is contained in:
XMRig 2019-10-30 22:40:09 +07:00
parent 83f437f979
commit f110b5000b

View file

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