diff options
| author | Wladimir J. van der Laan <[email protected]> | 2013-11-15 13:56:39 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2013-11-15 13:57:45 +0100 |
| commit | 5082b50a65810773f563e850c6a5468db09fa97f (patch) | |
| tree | 3a3e28d39da41d9a4336dda61dc0ebf287eb3e74 /src/script.cpp | |
| parent | Merge pull request #3252 from laanwj/2013_11_transifex_pull (diff) | |
| parent | orphan spaces cleanup ;-) (diff) | |
| download | discoin-5082b50a65810773f563e850c6a5468db09fa97f.tar.xz discoin-5082b50a65810773f563e850c6a5468db09fa97f.zip | |
Merge pull request #3258
fabba0e orphan spaces cleanup ;-) (Philip Kaufmann)
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 dbf391b2a..228d432ee 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); |