Merge pull request #2468 from SChernykh/dev

Fix: don't send miner signature during regular mining
This commit is contained in:
xmrig 2021-07-02 00:37:04 +07:00 committed by GitHub
commit 28a1d0fe1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -329,7 +329,7 @@ void xmrig::CpuWorker<N>::start()
else else
# endif # endif
if (value < job.target()) { if (value < job.target()) {
JobResults::submit(job, current_job_nonces[i], m_hash + (i * 32), miner_signature_saved); JobResults::submit(job, current_job_nonces[i], m_hash + (i * 32), job.hasMinerSignature() ? miner_signature_saved : nullptr);
} }
} }
m_count += N; m_count += N;