From 2ebcec91c00e0e5cd7e348e491ee62330364f3c7 Mon Sep 17 00:00:00 2001 From: Didrole Date: Wed, 1 Mar 2017 12:07:51 +0100 Subject: [PATCH] Send RPC id with jobs. --- lib/pool.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pool.js b/lib/pool.js index 922f32b..856a87d 100644 --- a/lib/pool.js +++ b/lib/pool.js @@ -457,7 +457,8 @@ function Miner(id, login, pass, ipAddress, startingDiff, messageSender, protoVer this.cachedJob = { blob: blob, job_id: newJob.id, - target: target + target: target, + id: this.id }; return this.cachedJob; };