Merge pull request #3431 from SChernykh/dev

Stratum: better check of the login response
This commit is contained in:
xmrig 2024-02-28 11:25:34 +07:00 committed by GitHub
commit dd782c7001
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -609,6 +609,11 @@ bool xmrig::Client::parseLogin(const rapidjson::Value &result, int *code)
parseExtensions(result);
if (!result.HasMember("job")) {
*code = 2;
return false;
}
const bool rc = parseJob(result["job"], code);
m_jobs = 0;