Fixed "coin" option for self select mode.
This commit is contained in:
parent
6e9fd5a430
commit
dc705d88ab
@ -131,6 +131,10 @@ bool xmrig::SelfSelectClient::parseResponse(int64_t id, rapidjson::Value &result
|
|||||||
return false;
|
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.setHeight(Json::getUint64(result, kHeight));
|
||||||
m_job.setSeedHash(Json::getString(result, kSeedHash));
|
m_job.setSeedHash(Json::getString(result, kSeedHash));
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user