Merge pull request #49 from Didrole/wolf-xmr-miner-support

Generate smaller job ids.
This commit is contained in:
Snipa22
2017-03-01 07:17:05 -08:00
committed by GitHub
+1 -1
View File
@@ -445,7 +445,7 @@ function Miner(id, login, pass, ipAddress, startingDiff, messageSender, protoVer
let newJob = { let newJob = {
id: uuidV4(), id: crypto.pseudoRandomBytes(21).toString('base64'),
extraNonce: activeBlockTemplate.extraNonce, extraNonce: activeBlockTemplate.extraNonce,
height: activeBlockTemplate.height, height: activeBlockTemplate.height,
difficulty: this.difficulty, difficulty: this.difficulty,