diff options
author | fireice-uk <fireice-uk@users.noreply.github.com> | 2017-10-05 11:35:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-05 11:35:49 +0100 |
commit | 6fa8ed60a8a5bcbae4f0a934cdfcd065a4e1a3f1 (patch) | |
tree | 77bde3db07e65f735b99a5bfec7ca946923997b2 /xmrstak/backend | |
parent | 2c2db154315ca3249d0dee4ab50b178b185f0cd1 (diff) | |
parent | e34ce368b559eaad7bf97f7f4ef4fc770e0484c4 (diff) | |
download | xmr-stak-6fa8ed60a8a5bcbae4f0a934cdfcd065a4e1a3f1.zip xmr-stak-6fa8ed60a8a5bcbae4f0a934cdfcd065a4e1a3f1.tar.gz |
Merge pull request #14 from psychocrypt/fix-nicehashSupport
fix broken nicehash support
Diffstat (limited to 'xmrstak/backend')
-rw-r--r-- | xmrstak/backend/miner_work.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmrstak/backend/miner_work.hpp b/xmrstak/backend/miner_work.hpp index e9f9e07..aecbd70 100644 --- a/xmrstak/backend/miner_work.hpp +++ b/xmrstak/backend/miner_work.hpp @@ -26,8 +26,8 @@ namespace xmrstak miner_work() : iWorkSize(0), bNiceHash(false), bStall(true), iPoolId(0) { } miner_work(const char* sJobID, const uint8_t* bWork, uint32_t iWorkSize, uint32_t iResumeCnt, - uint64_t iTarget, size_t iPoolId) : iWorkSize(iWorkSize), iResumeCnt(iResumeCnt), - iTarget(iTarget), bNiceHash(false), bStall(false), iPoolId(iPoolId) + uint64_t iTarget, bool bNiceHash, size_t iPoolId) : iWorkSize(iWorkSize), iResumeCnt(iResumeCnt), + iTarget(iTarget), bNiceHash(bNiceHash), bStall(false), iPoolId(iPoolId) { assert(iWorkSize <= sizeof(bWorkBlob)); memcpy(this->sJobID, sJobID, sizeof(miner_work::sJobID)); |