mempool: fix malleability check in mempool

This commit is contained in:
Nodar Chkuaselidze 2018-05-27 19:49:35 +04:00
parent 375965c8a6
commit a9193f052f
No known key found for this signature in database
GPG Key ID: 8E1B4DC29040BD90

View File

@ -1021,7 +1021,7 @@ class Mempool extends EventEmitter {
// If it succeeded, segwit may be causing the
// failure. Try with segwit but without cleanstack.
flags |= Script.flags.VERIFY_CLEANSTACK;
flags |= Script.flags.VERIFY_WITNESS;
// Cleanstack was causing the failure.
if (await this.verifyResult(tx, view, flags))