Skip to content

Commit

Permalink
Merge xmrig v6.14.0 into master
Browse files Browse the repository at this point in the history
  • Loading branch information
MoneroOcean committed Aug 10, 2021
1 parent 74f39ac commit 5579440
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/cpu/CpuWorker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ void xmrig::CpuWorker<N>::start()
if (first) {
first = false;
if (job.hasMinerSignature()) {
job.generateMinerSignature(m_job.blob(), job.size(), miner_signature_ptr, job.algorithm());
job.generateMinerSignature(m_job.blob(), job.size(), miner_signature_ptr);
}
randomx_calculate_hash_first(m_vm, tempHash, m_job.blob(), job.size(), job.algorithm());
}
Expand All @@ -305,7 +305,7 @@ void xmrig::CpuWorker<N>::start()

if (job.hasMinerSignature()) {
memcpy(miner_signature_saved, miner_signature_ptr, sizeof(miner_signature_saved));
job.generateMinerSignature(m_job.blob(), job.size(), miner_signature_ptr, job.algorithm());
job.generateMinerSignature(m_job.blob(), job.size(), miner_signature_ptr);
}
randomx_calculate_hash_next(m_vm, tempHash, m_job.blob(), job.size(), m_hash, job.algorithm());
}
Expand Down

0 comments on commit 5579440

Please sign in to comment.