Update poolWorker.js
var created above is spelled as initalPool not initialPool.
This commit is contained in:
parent
3a8e470caa
commit
3036375362
|
@ -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