diff --git a/src/base/net/stratum/Client.cpp b/src/base/net/stratum/Client.cpp index 8309ed274..8554f2f45 100644 --- a/src/base/net/stratum/Client.cpp +++ b/src/base/net/stratum/Client.cpp @@ -677,8 +677,6 @@ void xmrig::Client::getjob() using namespace rapidjson; if (!m_rpcId) return; - if (m_getjob && m_getjob + 30*1000 < Chrono::steadyMSecs()) return; - m_getjob = Chrono::steadyMSecs(); Document doc(kObjectType); auto &allocator = doc.GetAllocator(); diff --git a/src/base/net/stratum/Client.h b/src/base/net/stratum/Client.h index 67d2de5ef..859f93a27 100644 --- a/src/base/net/stratum/Client.h +++ b/src/base/net/stratum/Client.h @@ -147,7 +147,6 @@ class Client : public BaseClient, public IDnsListener, public ILineListener, pub String m_rpcId; Tls *m_tls = nullptr; uint64_t m_expire = 0; - uint64_t m_getjob = 0; uint64_t m_jobs = 0; uint64_t m_keepAlive = 0; uintptr_t m_key = 0; diff --git a/src/version.h b/src/version.h index 2d6cbb048..2047c4ae6 100644 --- a/src/version.h +++ b/src/version.h @@ -28,7 +28,7 @@ #define APP_ID "xmrig-proxy" #define APP_NAME "xmrig-proxy" #define APP_DESC "XMRig Stratum proxy" -#define APP_VERSION "6.4.0-mo6" +#define APP_VERSION "6.4.0-mo7" #define APP_DOMAIN "xmrig.com" #define APP_SITE "www.xmrig.com" #define APP_COPYRIGHT "Copyright (C) 2016-2020 xmrig.com"