From 15045bfb0ba8cf894f262a913e7a792ba593498b Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Mon, 9 May 2016 09:49:28 -0700 Subject: [PATCH] fix notfound handler. --- lib/bcoin/pool.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bcoin/pool.js b/lib/bcoin/pool.js index 36e90091..a832bdbf 100644 --- a/lib/bcoin/pool.js +++ b/lib/bcoin/pool.js @@ -939,7 +939,7 @@ Pool.prototype._createPeer = function _createPeer(options) { item = items[i]; req = self.request.map[item.hash]; if (req && req.peer === peer) - item.finish(); + req.finish(); } });