miner: fix status on workers.

This commit is contained in:
Christopher Jeffrey 2016-08-08 12:26:13 -07:00
parent b6417cf337
commit 7d4a683eaa
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -120,6 +120,10 @@ Miner.prototype._init = function _init() {
this.workerPool.on('error', function(err) {
self.emit('error', err);
});
this.workerPool.on('status', function(stat) {
self.emit('status', stat);
});
}
};