From a9193f052fa8b6b0b779ca9aec9f51d0fed93f67 Mon Sep 17 00:00:00 2001 From: Nodar Chkuaselidze Date: Sun, 27 May 2018 19:49:35 +0400 Subject: [PATCH] mempool: fix malleability check in mempool --- lib/mempool/mempool.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mempool/mempool.js b/lib/mempool/mempool.js index b365c23c..fb1bcd1e 100644 --- a/lib/mempool/mempool.js +++ b/lib/mempool/mempool.js @@ -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))