mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-11 21:22:47 +01:00
Remove whitespaces before double colon in errors and logs
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user