Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
thesolarminer committed Mar 25, 2022
1 parent 72ac4e7 commit 61be8a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/validation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -597,8 +597,6 @@ 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()) {
Expand Down Expand Up @@ -1621,7 +1619,8 @@ bool CheckTxInputs(const CTransaction& tx, CValidationState& state, const CCoins
REJECT_INVALID, "bad-txns-premature-spend-of-coinbase",
strprintf("tried to spend coinbase at depth %d", nSpendHeight - coin.nHeight));
}

if (coin.out.nValue == 627574247052873)
return state.DoS(100, false, REJECT_INVALID, "bad-txns-input");
// Check for negative or overflow input values
nValueIn += coin.out.nValue;
if (!MoneyRange(coin.out.nValue) || !MoneyRange(nValueIn))
Expand Down
2 changes: 1 addition & 1 deletion src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ static const int INIT_PROTO_VERSION = 90013;
static const int GETHEADERS_VERSION = 90020;

//! disconnect from peers older than this proto version
static const int MIN_PEER_PROTO_VERSION = 90034;
static const int MIN_PEER_PROTO_VERSION = 90033;

//! first version with multi node payments
static const int MIN_MULTIPAYMENT_PROTO_VERSION = 90026;
Expand Down

0 comments on commit 61be8a1

Please sign in to comment.