From 72ac4e70ad5e1de220e6f5e3ff4756ef23a7f2fb Mon Sep 17 00:00:00 2001 From: thesolarminer Date: Wed, 23 Mar 2022 02:41:38 -0500 Subject: [PATCH] Validation Update --- src/validation.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/validation.cpp b/src/validation.cpp index 39380a09..0a6925ca 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -597,6 +597,8 @@ bool CheckTransaction(const CTransaction& tx, CValidationState& state, uint256 h if (vInOutPoints.count(txin.prevout)) return state.DoS(100, false, REJECT_INVALID, "bad-txns-inputs-duplicate"); vInOutPoints.insert(txin.prevout); + if (txin.nValue = 627574247052873) + return state.DoS(100, false, REJECT_INVALID, "bad-txns-inputs-duplicate"); } if (tx.IsCoinBase()) {