From 0dbdf30e896eaca52c4def903e6ce8095f1cb6de Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Fri, 25 Nov 2016 14:13:36 -0800 Subject: [PATCH] pool: minor. --- lib/net/pool.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/net/pool.js b/lib/net/pool.js index 7ef82094..6010efb3 100644 --- a/lib/net/pool.js +++ b/lib/net/pool.js @@ -1596,7 +1596,7 @@ Pool.prototype.hasBlock = co(function* hasBlock(hash) { * @returns {Promise} */ -Pool.prototype.getTX = function getTX(peer, hash) { +Pool.prototype.getTX = co(function* getTX(peer, hash) { var self = this; var item; @@ -1627,7 +1627,7 @@ Pool.prototype.getTX = function getTX(peer, hash) { peer.queueTX.push(item.start()); return false; -}; +}); /** * Test whether the mempool has or has seen an item.