Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueDragon747 authored Jun 6, 2018
1 parent f389d8a commit 99020f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1499,7 +1499,7 @@ bool CTransaction::CheckInputs(CValidationState &state, CCoinsViewCache &inputs,
if (!MoneyRange(nFees))
return state.DoS(100, error("CheckInputs() : nFees out of range"));

// The first looper above does all the inexpensive checks.
// The first loop above does all the inexpensive checks.
// Only if ALL inputs pass do we perform expensive ECDSA signature checks.
// Helps prevent CPU exhaustion attacks.

Expand Down

0 comments on commit 99020f4

Please sign in to comment.