Fix nicehash support, please note --nicehash option now specified per pool.

This commit is contained in:
XMRig 2017-07-01 22:37:27 +03:00
parent 263634f585
commit 8ec58a8394
12 changed files with 23 additions and 26 deletions

View file

@ -56,7 +56,8 @@ static inline char hf_bin2hex(unsigned char c)
}
Job::Job(int poolId) :
Job::Job(int poolId, bool nicehash) :
m_nicehash(nicehash),
m_poolId(poolId),
m_size(0),
m_diff(0),