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){
|
GetBlockTemplate(function(error, result){
|
||||||
if (error)
|
if (error){
|
||||||
emitErrorLog('system', 'Error with initial getblocktemplate ' + error);
|
console.error(error);
|
||||||
|
emitErrorLog('system', 'Error with initial getblocktemplate');
|
||||||
|
}
|
||||||
else{
|
else{
|
||||||
SetupBlockPolling();
|
SetupBlockPolling();
|
||||||
StartStratumServer();
|
StartStratumServer();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user