From 1b4abe1e981799b70dc5c5d0924e3b2ab118990f Mon Sep 17 00:00:00 2001 From: SChernykh Date: Thu, 1 Jul 2021 19:31:55 +0200 Subject: [PATCH] Fix: don't send miner signature during regular mining --- src/backend/cpu/CpuWorker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/cpu/CpuWorker.cpp b/src/backend/cpu/CpuWorker.cpp index fc7d8bf3b..085bccb6c 100644 --- a/src/backend/cpu/CpuWorker.cpp +++ b/src/backend/cpu/CpuWorker.cpp @@ -329,7 +329,7 @@ void xmrig::CpuWorker::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;