Skip to content

Commit

Permalink
GR support
Browse files Browse the repository at this point in the history
  • Loading branch information
MoneroOcean committed Dec 1, 2021
1 parent 4bb6ec1 commit 08b0432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proxy/Miner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ void xmrig::Miner::setJob(Job &job, int64_t extra_nonce)

if (hasExtension(EXT_NICEHASH)) {
snprintf(m_sendBuf, 4, "%02hhx", m_fixedByte);
memcpy(job.rawBlob() + 84, m_sendBuf, 2);
memcpy(job.rawBlob() + (job.nonceOffset() + 3)*2, m_sendBuf, 2);
}

m_diff = job.diff();
Expand Down

0 comments on commit 08b0432

Please sign in to comment.