Fix nonce allocation in DoubleWorker.

This commit is contained in:
XMRig 2018-04-03 03:27:44 +07:00
parent c1bc6acd26
commit d7c5630509
9 changed files with 14 additions and 9 deletions

View file

@ -25,8 +25,9 @@
#include "workers/Handle.h"
Handle::Handle(xmrig::IThread *config, size_t totalWays) :
Handle::Handle(xmrig::IThread *config, size_t totalThreads, size_t totalWays) :
m_worker(nullptr),
m_totalThreads(totalThreads),
m_totalWays(totalWays),
m_config(config)
{