From 2365355d79222025ab9b623455530c6076316487 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 6 Dec 2016 11:10:47 -0800 Subject: [PATCH] net: getblocks handling. --- lib/net/pool.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net/pool.js b/lib/net/pool.js index a7f6279e..2d73262f 100644 --- a/lib/net/pool.js +++ b/lib/net/pool.js @@ -850,7 +850,7 @@ Pool.prototype._handleBlocks = co(function* _handleBlocks(hashes, peer) { // hash. this.logger.debug('Received known orphan hash (%s).', peer.hostname); yield peer.resolveOrphan(null, hash); - break; + continue; } exists = yield this.getBlock(peer, hash);