Better errors on init
This commit is contained in:
parent
beff912825
commit
d38b332f81
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user