# MutantHub mutant #1716: Logical operator mutation at interpreter.cpp:1643
# Repository: bitcoin/bitcoin @ 05e49b342faa1412266951429c135e9f5daa30c2
# File: src/script/interpreter.cpp:1643-1643
# Review: APPROVED; outcome: KILLED
--- a/src/script/interpreter.cpp
+++ b/src/script/interpreter.cpp
@@ -1643,1 +1643,1 @@
-        if (!(nHashType & SIGHASH_ANYONECANPAY) && (nHashType & 0x1f) != SIGHASH_SINGLE && (nHashType & 0x1f) != SIGHASH_NONE) {
+        if (!(nHashType & SIGHASH_ANYONECANPAY) || (nHashType & 0x1f) != SIGHASH_SINGLE && (nHashType & 0x1f) != SIGHASH_NONE) {
