diff --git a/lib/bcoin/chain.js b/lib/bcoin/chain.js index 0915c684..c4df2e23 100644 --- a/lib/bcoin/chain.js +++ b/lib/bcoin/chain.js @@ -701,7 +701,7 @@ Chain.prototype.getDeployments = function getDeployments(block, prev, ancestors, if (err) return next(err); - if (active) { + if (active && self.network.witness) { state.flags |= constants.flags.VERIFY_WITNESS; if (!self.state.hasWitness()) self.logger.warning('Segwit has been activated.'); diff --git a/lib/bcoin/protocol/network.js b/lib/bcoin/protocol/network.js index 34e189f6..e4b8ae90 100644 --- a/lib/bcoin/protocol/network.js +++ b/lib/bcoin/protocol/network.js @@ -542,7 +542,7 @@ testnet.block = { slowHeight: 750000 }; -testnet.witness = false; +testnet.witness = true; testnet.segwitHeight = 2000000000; @@ -602,7 +602,7 @@ testnet.maxRate = 40000; testnet.selfConnect = false; -testnet.requestMempool = true; +testnet.requestMempool = false; testnet.batchSize = [ [100000, 500],