diff --git a/README.md b/README.md index 9725fca..0b9ce0e 100644 --- a/README.md +++ b/README.md @@ -157,7 +157,7 @@ Listen to pool events worker: 'matt.worker1', //stratum worker name difficulty: 64, //stratum client difficulty height: 443795, //block height - difficulty: 3349 //network difficulty for this block + networkDifficulty: 3349 //network difficulty for this block //solution is set if block was found solution: '110c0447171ad819dd181216d5d80f41e9218e25d833a2789cb8ba289a52eee4', error: 'low share difficulty' //set if share is rejected for some reason diff --git a/lib/jobManager.js b/lib/jobManager.js index 71e52d1..dd44822 100644 --- a/lib/jobManager.js +++ b/lib/jobManager.js @@ -265,7 +265,7 @@ var JobManager = module.exports = function JobManager(options){ worker: workerName, difficulty: difficulty, height: job.rpcData.height, - difficulty: job.difficulty, + networkDifficulty: job.difficulty, solution: blockHash }, blockHex);