Skip to content

Commit

Permalink
Fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenroose committed Jan 14, 2019
1 parent aa7c92e commit 1967112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script/interpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ bool EvalScript(std::vector<std::vector<unsigned char> >& stack, const CScript&
if (length > MAX_SCRIPT_ELEMENT_SIZE)
length = MAX_SCRIPT_ELEMENT_SIZE;

// start + length cannot overflow because of the restrictions immediately abo
// start + length cannot overflow because of the restrictions immediately above
if (start + length > vch1.size()) {
length = CScriptNum(vch1.size()) - start;
}
Expand Down

0 comments on commit 1967112

Please sign in to comment.