From 762e93e07c7a5481b9f0654b1b378ee278ede696 Mon Sep 17 00:00:00 2001 From: dodois <73285310+dodois@users.noreply.github.com> Date: Mon, 5 Apr 2021 11:36:42 +0800 Subject: [PATCH] fix workerName --- lib/pool.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pool.js b/lib/pool.js index 4f1a97b..cb1d10a 100644 --- a/lib/pool.js +++ b/lib/pool.js @@ -395,7 +395,7 @@ function Miner (rewardType, childRewardType, id, childPoolIndex, login, pass, ip this.noRetarget = noRetarget; this.difficulty = startingDiff; this.validJobs = []; - this.workerName2 = pass; + this.workerName = pass; // Vardiff related variables this.shareTimeRing = utils.ringBuffer(16);