aboutsummaryrefslogtreecommitdiff
path: root/src/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script.cpp')
-rw-r--r--src/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script.cpp b/src/script.cpp
index fe29a88613..2b66bc73d6 100644
--- a/src/script.cpp
+++ b/src/script.cpp
@@ -1905,7 +1905,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);