From 219671c6208d81766351673bca74399e431e7f1a Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sat, 21 Jan 2017 15:38:39 -0800 Subject: [PATCH] pool: do not emit `tx` if we have a mempool. --- lib/net/pool.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/net/pool.js b/lib/net/pool.js index 3a774809..91c3813a 100644 --- a/lib/net/pool.js +++ b/lib/net/pool.js @@ -2106,8 +2106,6 @@ Pool.prototype._handleTX = co(function* handleTX(peer, packet) { this.getTX(peer, missing); } - - this.emit('tx', tx); }); /**