miner: fix status on workers.
This commit is contained in:
parent
b6417cf337
commit
7d4a683eaa
@ -120,6 +120,10 @@ Miner.prototype._init = function _init() {
|
|||||||
this.workerPool.on('error', function(err) {
|
this.workerPool.on('error', function(err) {
|
||||||
self.emit('error', err);
|
self.emit('error', err);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.workerPool.on('status', function(stat) {
|
||||||
|
self.emit('status', stat);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user