Update stats.js

Bugfix to bugfix ;)
This commit is contained in:
hellcatz 2017-05-13 16:13:45 -07:00 committed by GitHub
parent 9f0a8f5c32
commit c5bdda780c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}