Merge pull request #399 from jkoornneef/patch-1
Fix var spelling in poolWorker.js to fix 'undefined' exception
This commit is contained in:
commit
6fd667defb
@ -273,7 +273,7 @@ module.exports = function(logger){
|
|||||||
if (pools[currentPool])
|
if (pools[currentPool])
|
||||||
pools[currentPool].getStratumServer().handleNewClient(socket);
|
pools[currentPool].getStratumServer().handleNewClient(socket);
|
||||||
else
|
else
|
||||||
pools[initialPool].getStratumServer().handleNewClient(socket);
|
pools[initalPool].getStratumServer().handleNewClient(socket);
|
||||||
|
|
||||||
}).listen(parseInt(port), function() {
|
}).listen(parseInt(port), function() {
|
||||||
logger.debug(logSystem, logComponent, logSubCat, 'Switching "' + switchName
|
logger.debug(logSystem, logComponent, logSubCat, 'Switching "' + switchName
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user