diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2015-10-29 07:11:24 +0100 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2015-11-13 18:15:20 +0100 |
commit | 114b5812f6283f2325fc31e186b26c6d76f9551a (patch) | |
tree | 6c04a7ee882b7d8a291bb9507ddd5cf17e23f704 /src/script/script.cpp | |
parent | 4f09b77c7fa50afc19d4458c9dd05219c82a298d (diff) |
Prevector type
Diffstat (limited to 'src/script/script.cpp')
-rw-r--r-- | src/script/script.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/script/script.cpp b/src/script/script.cpp index 263c89defe..9c77ed9fc1 100644 --- a/src/script/script.cpp +++ b/src/script/script.cpp @@ -205,9 +205,9 @@ bool CScript::IsPayToScriptHash() const { // Extra-fast test for pay-to-script-hash CScripts: return (this->size() == 23 && - this->at(0) == OP_HASH160 && - this->at(1) == 0x14 && - this->at(22) == OP_EQUAL); + (*this)[0] == OP_HASH160 && + (*this)[1] == 0x14 && + (*this)[22] == OP_EQUAL); } bool CScript::IsPushOnly(const_iterator pc) const |