1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-10 09:02:45 -05:00

Added option to disable Monero v7 PoW, may useful in future if other coins update their network to v7 without PoW change.

This commit is contained in:
XMRig
2018-03-07 19:12:18 +07:00
parent 8a6988d381
commit 69b8a4faf1
7 changed files with 34 additions and 11 deletions

View File

@@ -220,7 +220,7 @@ bool Client::parseJob(const rapidjson::Value &params, int *code)
return false;
}
Job job(m_id, m_url.isNicehash());
Job job(m_id, m_url.isNicehash(), m_url.isMonero());
if (!job.setId(params["job_id"].GetString())) {
*code = 3;
return false;