From f7be57b583b1989f4026b7cbeecae9b687c2e8e3 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Thu, 10 Nov 2016 13:42:04 -0800 Subject: [PATCH] pool: allow segwit compact blocks in options. --- lib/net/pool.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/net/pool.js b/lib/net/pool.js index ee768348..c98051c9 100644 --- a/lib/net/pool.js +++ b/lib/net/pool.js @@ -223,10 +223,6 @@ Pool.prototype._initOptions = function _initOptions() { if (this.options.witness) { this.blockType |= constants.WITNESS_MASK; this.txType |= constants.WITNESS_MASK; - if (this.options.compact) { - this.logger.warning('Disabling compact blocks due to segwit.'); - this.options.compact = false; - } } if (this.options.spv)