Refactoring

This commit is contained in:
XMRig 2019-07-13 00:49:17 +07:00
parent be7ff62c48
commit 4643742d13
9 changed files with 39 additions and 64 deletions

View file

@ -173,7 +173,7 @@ void xmrig::MultiWorker<N>::start()
for (size_t i = 0; i < N; ++i) {
if (*reinterpret_cast<uint64_t*>(m_hash + (i * 32) + 24) < job.target()) {
JobResults::submit(JobResult(job.poolId(), job.id(), job.clientId(), *m_job.nonce(i), m_hash + (i * 32), job.diff(), job.algorithm()));
JobResults::submit(JobResult(job, *m_job.nonce(i), m_hash + (i * 32)));
}
}