Fix: don't send miner signature during regular mining

This commit is contained in:
SChernykh 2021-07-01 19:31:55 +02:00
parent 0af9d2e75b
commit 1b4abe1e98

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;