diff --git a/lib/pool.js b/lib/pool.js index 18ffac9..030c468 100644 --- a/lib/pool.js +++ b/lib/pool.js @@ -199,8 +199,10 @@ var pool = module.exports = function pool(options, authorizeFn){ } GetBlockTemplate(function(error, result){ - if (error) - emitErrorLog('system', 'Error with initial getblocktemplate ' + error); + if (error){ + console.error(error); + emitErrorLog('system', 'Error with initial getblocktemplate'); + } else{ SetupBlockPolling(); StartStratumServer();