Added block listener back in.

This commit is contained in:
Chris Kleeschulte 2017-09-26 19:38:13 -04:00
parent bf56ace9f9
commit 110ee2ded3
No known key found for this signature in database
GPG Key ID: 33195D27EF6BDB7F

View File

@ -103,8 +103,8 @@ InsightAPI.prototype.start = function(callback) {
this._bus.on('p2p/transaction', this.transactionEventHandler.bind(this));
this._bus.subscribe('p2p/transaction');
//this._bus.on('p2p/block', this.blockEventHandler.bind(this));
//this._bus.subscribe('p2p/block');
this._bus.on('p2p/block', this.blockEventHandler.bind(this));
this._bus.subscribe('p2p/block');
callback();