From 1faa887eb69aea28c3d86ade4fee93a93015ad8b Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Mon, 25 Jul 2016 15:53:12 -0700 Subject: [PATCH] mempool: disable verify_witness by default. --- lib/bcoin/mempool.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/bcoin/mempool.js b/lib/bcoin/mempool.js index 421a81d0..c7f3508c 100644 --- a/lib/bcoin/mempool.js +++ b/lib/bcoin/mempool.js @@ -976,6 +976,8 @@ Mempool.prototype.verify = function verify(entry, callback) { if (this.chain.state.hasWitness()) mandatory |= constants.flags.VERIFY_WITNESS; + else + flags &= ~constants.flags.VERIFY_WITNESS; this.checkLocks(tx, lockFlags, function(err, result) { if (err)