pool: allow segwit compact blocks in options.
This commit is contained in:
parent
06b35d4ab2
commit
f7be57b583
@ -223,10 +223,6 @@ Pool.prototype._initOptions = function _initOptions() {
|
|||||||
if (this.options.witness) {
|
if (this.options.witness) {
|
||||||
this.blockType |= constants.WITNESS_MASK;
|
this.blockType |= constants.WITNESS_MASK;
|
||||||
this.txType |= 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)
|
if (this.options.spv)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user