From 1967112d98bd80ea0f69410079ed5045718d3e70 Mon Sep 17 00:00:00 2001 From: Steven Roose Date: Mon, 14 Jan 2019 11:07:02 +0000 Subject: [PATCH] Fix typo in comment --- src/script/interpreter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/interpreter.cpp b/src/script/interpreter.cpp index dbac2335f9..8810f6bd13 100644 --- a/src/script/interpreter.cpp +++ b/src/script/interpreter.cpp @@ -842,7 +842,7 @@ bool EvalScript(std::vector >& 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; }