From c5bdda780c5ce7bc6479cc4ac862ba0a65577efe Mon Sep 17 00:00:00 2001 From: hellcatz Date: Sat, 13 May 2017 16:13:45 -0700 Subject: [PATCH] Update stats.js Bugfix to bugfix ;) --- libs/stats.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/stats.js b/libs/stats.js index f44942c..3e1d91b 100644 --- a/libs/stats.js +++ b/libs/stats.js @@ -267,7 +267,7 @@ module.exports = function(logger, portalConfig, poolConfigs){ workers[balName] = (workers[balName] || {}); } else { balAmount = parseFloat(bals[1][b]); - workers[workerName].balance = balanceRound(balAmount); + workers[balName].balance = balanceRound(balAmount); totalHeld += balAmount; } }