From e31ec2f2763c7866df49ad051808e6df4da030f9 Mon Sep 17 00:00:00 2001 From: Chris Kleeschulte Date: Mon, 25 Sep 2017 16:18:17 -0400 Subject: [PATCH] Chnaged ui to pull from p2p for txs and not the mempool service. --- lib/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/index.js b/lib/index.js index 465d2f8..25ec926 100644 --- a/lib/index.js +++ b/lib/index.js @@ -104,8 +104,8 @@ InsightAPI.prototype.start = function(callback) { this._bus.on('block/block', this.transactionEventHandler.bind(this)); this._bus.subscribe('block/block'); - this._bus.on('mempool/transaction', this.blockEventHandler.bind(this)); - this._bus.subscribe('mempool/transaction'); + this._bus.on('p2p/transaction', this.blockEventHandler.bind(this)); + this._bus.subscribe('p2p/transaction'); callback();