Fixed switching from non RandomX algorithm to RandomX.
This commit is contained in:
parent
83f437f979
commit
f110b5000b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue