diff --git a/src/base/net/stratum/SelfSelectClient.cpp b/src/base/net/stratum/SelfSelectClient.cpp index ae82dfafb..4de49f6ef 100644 --- a/src/base/net/stratum/SelfSelectClient.cpp +++ b/src/base/net/stratum/SelfSelectClient.cpp @@ -131,6 +131,10 @@ bool xmrig::SelfSelectClient::parseResponse(int64_t id, rapidjson::Value &result return false; } + if (pool().coin().isValid()) { + m_job.setAlgorithm(pool().coin().algorithm(m_job.blob()[0])); + } + m_job.setHeight(Json::getUint64(result, kHeight)); m_job.setSeedHash(Json::getString(result, kSeedHash));