diff --git a/src/base/net/stratum/Job.cpp b/src/base/net/stratum/Job.cpp index 7792b904a..e765978f4 100644 --- a/src/base/net/stratum/Job.cpp +++ b/src/base/net/stratum/Job.cpp @@ -165,7 +165,7 @@ void xmrig::Job::setSigKey(const char *sig_key) uint32_t xmrig::Job::getNumTransactions() const { - if (m_algorithm.family() > Algorithm::RANDOM_X) { + if (!(m_algorithm.isCN() || m_algorithm.family() == Algorithm::RANDOM_X)) { return 0; }