1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-07 16:05:05 -05:00

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

View File

@@ -329,7 +329,7 @@ void xmrig::CpuWorker<N>::start()
else
# endif
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;