From a6656a8c49b86944af4e18f79b3233fe34ed3ef7 Mon Sep 17 00:00:00 2001 From: SChernykh Date: Tue, 23 Nov 2021 18:02:58 +0100 Subject: [PATCH] Fixed broken difficulty adjustment on some Raptoreum pools --- src/base/net/stratum/Job.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/net/stratum/Job.cpp b/src/base/net/stratum/Job.cpp index 818160113..17122eaab 100644 --- a/src/base/net/stratum/Job.cpp +++ b/src/base/net/stratum/Job.cpp @@ -47,7 +47,7 @@ xmrig::Job::Job(bool nicehash, const Algorithm &algorithm, const String &clientI bool xmrig::Job::isEqual(const Job &other) const { - return m_id == other.m_id && m_clientId == other.m_clientId && memcmp(m_blob, other.m_blob, sizeof(m_blob)) == 0; + return m_id == other.m_id && m_clientId == other.m_clientId && memcmp(m_blob, other.m_blob, sizeof(m_blob)) == 0 && m_target == other.m_target; }