Fix nicehash support, please note --nicehash option now specified per pool.
This commit is contained in:
parent
263634f585
commit
8ec58a8394
12 changed files with 23 additions and 26 deletions
|
@ -77,7 +77,7 @@ void SingleWorker::consumeJob()
|
|||
memcpy(m_result.jobId, m_job.id(), sizeof(m_result.jobId));
|
||||
m_result.poolId = m_job.poolId();
|
||||
|
||||
if (m_nicehash) {
|
||||
if (m_job.isNicehash()) {
|
||||
m_result.nonce = (*m_job.nonce() & 0xff000000U) + (0xffffffU / m_threads * m_id);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue