diff --git a/src/core/Miner.cpp b/src/core/Miner.cpp index 54323c35d..afebde850 100644 --- a/src/core/Miner.cpp +++ b/src/core/Miner.cpp @@ -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();