Update poolWorker.js

This commit is contained in:
thrassos 2014-05-01 20:01:54 +03:00
parent f8f15d6fc0
commit 13a22d0ed6
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);
}
}
});