aboutsummaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-02-02 11:55:42 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2015-02-02 11:56:23 +0100
commita62649731fb1babaedff10b7c0baec4c50c90d60 (patch)
treecca272581d2cb6b9bf39283f3e4ab26da032a4fc /src/script
parent6af674ecdc99db2eb741b8dc79e44bd0202e3855 (diff)
parentee932025c1a318943a6b101be9fe7a4a2e10648c (diff)
Merge pull request #5731
ee93202 Changed pronouns for correctness and inclusivity (bikinibabe) 1fa89a5 fix _code_ snippet in gitian-building.md (UdjinM6) 34c6181 Fix README link from util.sh -> util.py. (Matt Bogosian) faf0af4 Suggest --disable-wallet when libdb_cxx headers are missing (Luke Dashjr) 5a809ef depends: fix typos (Michael Ford) bd2b73b TRIVIAL: fix misleading comment (Vitalii Demianets) 5262fde Remove whitespaces before double colon in errors and logs (Pavel Janík) 3800135 Fix typo (Pavel Janík) 91a9fe0 Fix typo - sentence starts with capital letter (Pavel Janík) bfc29dc Improve gitian build guide (Michael Ford) d6bed15 remove sig_canonical.json and sig_noncanonical.json (Manuel Araoz) 8673160 Remove bootstrap.md (Michael Ford)
Diffstat (limited to 'src/script')
-rw-r--r--src/script/interpreter.cpp2
-rw-r--r--src/script/script.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/script/interpreter.cpp b/src/script/interpreter.cpp
index 8a06f3d118..0cee1a0116 100644
--- a/src/script/interpreter.cpp
+++ b/src/script/interpreter.cpp
@@ -60,7 +60,7 @@ bool CastToBool(const valtype& vch)
static inline void popstack(vector<valtype>& stack)
{
if (stack.empty())
- throw runtime_error("popstack() : stack empty");
+ throw runtime_error("popstack(): stack empty");
stack.pop_back();
}
diff --git a/src/script/script.h b/src/script/script.h
index 78fd12cd29..8b36aa2f50 100644
--- a/src/script/script.h
+++ b/src/script/script.h
@@ -391,7 +391,7 @@ public:
CScript& operator<<(opcodetype opcode)
{
if (opcode < 0 || opcode > 0xff)
- throw std::runtime_error("CScript::operator<<() : invalid opcode");
+ throw std::runtime_error("CScript::operator<<(): invalid opcode");
insert(end(), (unsigned char)opcode);
return *this;
}