pool: allow segwit compact blocks in options.

This commit is contained in:
Christopher Jeffrey 2016-11-10 13:42:04 -08:00
parent 06b35d4ab2
commit f7be57b583
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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)