Update poolWorker.js
This commit is contained in:
parent
f8f15d6fc0
commit
13a22d0ed6
|
@ -284,8 +284,8 @@ module.exports = function(logger){
|
||||||
var p = pools[coinName];
|
var p = pools[coinName];
|
||||||
if (poolConfigs[coinName].coin.algorithm === algorithm) {
|
if (poolConfigs[coinName].coin.algorithm === algorithm) {
|
||||||
for (var port in portalConfig.switching[switchName].ports) {
|
for (var port in portalConfig.switching[switchName].ports) {
|
||||||
if (portalConfig.switching[switchName].ports[port].vardiff)
|
if (portalConfig.switching[switchName].ports[port].varDiff)
|
||||||
p.setVarDiff(port, portalConfig.switching[switchName].ports[port].vardiff);
|
p.setVarDiff(port, portalConfig.switching[switchName].ports[port].varDiff);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue