diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-11-15 12:24:34 +0100 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-11-15 12:24:34 +0100 |
commit | fabba0e6cc08af2b6ff651c5f16b55ffbee9c45b (patch) | |
tree | 3a3e28d39da41d9a4336dda61dc0ebf287eb3e74 /src/script.cpp | |
parent | 4fc241235c41fbf7f2592dfee11db5b7b71c17ad (diff) |
orphan spaces cleanup ;-)
Diffstat (limited to 'src/script.cpp')
-rw-r--r-- | src/script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script.cpp b/src/script.cpp index dbf391b2ab..228d432ee3 100644 --- a/src/script.cpp +++ b/src/script.cpp @@ -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); |