1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-07 07:55:04 -05:00

Merge pull request #2716 from Spudz76/dev-initGR

Only initGhostRider() when job is in the family
This commit is contained in:
xmrig
2021-11-25 09:09:16 +07:00
committed by GitHub

View File

@@ -564,7 +564,9 @@ void xmrig::Miner::setJob(const Job &job, bool donate)
# endif
# ifdef XMRIG_ALGO_GHOSTRIDER
d_ptr->initGhostRider();
if (job.algorithm().family() == Algorithm::GHOSTRIDER) {
d_ptr->initGhostRider();
}
# endif
mutex.unlock();