1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-08 08:23:34 -05:00

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 # 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(); stop();
} }
# endif # endif