From e23658c21f76efbba8ea25a3a3ca317edd3aabad Mon Sep 17 00:00:00 2001 From: Alexander Blair Date: Tue, 4 Jul 2017 12:13:10 -0700 Subject: [PATCH] Only the proxied versions need that data. Really. Why doesn't node blow up if I do that... --- lib/pool.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pool.js b/lib/pool.js index 2675616..3792ce4 100644 --- a/lib/pool.js +++ b/lib/pool.js @@ -479,8 +479,6 @@ function Miner(id, login, pass, ipAddress, startingDiff, messageSender, protoVer height: activeBlockTemplate.height, difficulty: this.difficulty, diffHex: this.diffHex, - clientPoolLocation: activeBlockTemplate.clientPoolLocation, - clientNonceLocation: activeBlockTemplate.clientNonceLocation, submissions: [] }; @@ -501,6 +499,8 @@ function Miner(id, login, pass, ipAddress, startingDiff, messageSender, protoVer height: activeBlockTemplate.height, difficulty: this.difficulty, diffHex: this.diffHex, + clientPoolLocation: activeBlockTemplate.clientPoolLocation, + clientNonceLocation: activeBlockTemplate.clientNonceLocation, submissions: [] }; this.validJobs.enq(newJob);