# MutantHub mutant #3800: Relational operator at tx_verify:192
# Repository: bitcoin/bitcoin @ 23288073d4e7723bf7559a904bbf322a52d8af55
# File: src/consensus/tx_verify.cpp:192-192
# Review: WITHDRAWN; outcome: SURVIVED
--- a/src/consensus/tx_verify.cpp
+++ b/src/consensus/tx_verify.cpp
@@ -189,7 +189,7 @@ bool Consensus::CheckTxInputs(const CTransaction& tx, TxValidationState& state,
 
         // Check for negative or overflow input values
         nValueIn += coin.out.nValue;
-        if (!MoneyRange(coin.out.nValue) || !MoneyRange(nValueIn)) {
+        if (!MoneyRange(coin.out.nValue) && !MoneyRange(nValueIn)) {
             return state.Invalid(TxValidationResult::TX_CONSENSUS, "bad-txns-inputvalues-outofrange");
         }
     }
