mempool: disable verify_witness by default.
This commit is contained in:
parent
8ba429d76c
commit
1faa887eb6
@ -976,6 +976,8 @@ Mempool.prototype.verify = function verify(entry, callback) {
|
|||||||
|
|
||||||
if (this.chain.state.hasWitness())
|
if (this.chain.state.hasWitness())
|
||||||
mandatory |= constants.flags.VERIFY_WITNESS;
|
mandatory |= constants.flags.VERIFY_WITNESS;
|
||||||
|
else
|
||||||
|
flags &= ~constants.flags.VERIFY_WITNESS;
|
||||||
|
|
||||||
this.checkLocks(tx, lockFlags, function(err, result) {
|
this.checkLocks(tx, lockFlags, function(err, result) {
|
||||||
if (err)
|
if (err)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user