orphan spaces cleanup ;-)

This commit is contained in:
Philip Kaufmann
2013-11-15 12:24:34 +01:00
parent 4fc241235c
commit fabba0e6cc
3 changed files with 17 additions and 17 deletions

View File

@@ -1907,7 +1907,7 @@ void CScript::SetMultisig(int nRequired, const std::vector<CPubKey>& keys)
bool CScriptCompressor::IsToKeyID(CKeyID &hash) const
{
if (script.size() == 25 && script[0] == OP_DUP && script[1] == OP_HASH160
if (script.size() == 25 && script[0] == OP_DUP && script[1] == OP_HASH160
&& script[2] == 20 && script[23] == OP_EQUALVERIFY
&& script[24] == OP_CHECKSIG) {
memcpy(&hash, &script[3], 20);