Merge pull request #107 from thrassos/master

Update poolWorker.js
This commit is contained in:
Matthew Little 2014-05-01 11:46:06 -06:00
commit 80be932651
1 changed files with 2 additions and 2 deletions

View File

@ -284,8 +284,8 @@ module.exports = function(logger){
var p = pools[coinName];
if (poolConfigs[coinName].coin.algorithm === algorithm) {
for (var port in portalConfig.switching[switchName].ports) {
if (portalConfig.switching[switchName].ports[port].vardiff)
p.setVarDiff(port, portalConfig.switching[switchName].ports[port].vardiff);
if (portalConfig.switching[switchName].ports[port].varDiff)
p.setVarDiff(port, portalConfig.switching[switchName].ports[port].varDiff);
}
}
});