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:
parent
8a6988d381
commit
69b8a4faf1
7 changed files with 34 additions and 11 deletions
|
@ -220,7 +220,7 @@ bool Client::parseJob(const rapidjson::Value ¶ms, 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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue