Merge branch 'master' of https://github.com/esrrhs/xmrig into pr2217

This commit is contained in:
XMRig 2021-03-29 18:16:45 +07:00
commit b72e21fc3c
No known key found for this signature in database
GPG key ID: 446A53638BE94409
3 changed files with 13 additions and 13 deletions

View file

@ -48,8 +48,8 @@ xmrig::BenchClient::BenchClient(const std::shared_ptr<BenchConfig> &benchmark, I
std::vector<char> blob(112 * 2 + 1, '0');
blob.back() = '\0';
m_job.setBlob(blob.data());
m_job.setAlgorithm(m_benchmark->algorithm());
m_job.setBlob(blob.data());
m_job.setDiff(std::numeric_limits<uint64_t>::max());
m_job.setHeight(1);
m_job.setId("00000000");