# MutantHub mutant #1667: Relational operator mutation at interpreter.cpp:1524
# Repository: bitcoin/bitcoin @ 05e49b342faa1412266951429c135e9f5daa30c2
# File: src/script/interpreter.cpp:1524-1524
# Review: APPROVED; outcome: KILLED
--- a/src/script/interpreter.cpp
+++ b/src/script/interpreter.cpp
@@ -1524,1 +1524,1 @@
-    const uint8_t output_type = (hash_type == SIGHASH_DEFAULT) ? SIGHASH_ALL : (hash_type & SIGHASH_OUTPUT_MASK); // Default (no sighash byte) is equivalent to SIGHASH_ALL
+    const uint8_t output_type = (hash_type != SIGHASH_DEFAULT) ? SIGHASH_ALL : (hash_type & SIGHASH_OUTPUT_MASK); // Default (no sighash byte) is equivalent to SIGHASH_ALL
