From 2c0f8ce2261b74f3a7557741316394ae158f12d3 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Mon, 23 Jan 2017 21:23:01 -0800 Subject: [PATCH] peer: block type fix for compact blocks. --- lib/net/peer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net/peer.js b/lib/net/peer.js index c6783201..fd65b86a 100644 --- a/lib/net/peer.js +++ b/lib/net/peer.js @@ -1407,7 +1407,7 @@ Peer.prototype.blockType = function blockType() { if (this.options.spv) return invTypes.FILTERED_BLOCK; - if (this.options.compact && this.outbound) { + if (this.options.compact) { if (this.hasCompact()) return invTypes.CMPCT_BLOCK; }