mempool: disable verify_witness by default.

This commit is contained in:
Christopher Jeffrey 2016-07-25 15:53:12 -07:00
parent 8ba429d76c
commit 1faa887eb6
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

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