Remove whitespaces before double colon in errors and logs

This commit is contained in:
Pavel Janík
2015-01-08 11:44:25 +01:00
committed by Cory Fields
parent 3800135ad3
commit 5262fde0ec
28 changed files with 217 additions and 217 deletions

View File

@@ -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();
}

View File

@@ -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;
}