diff options
| author | Pieter Wuille <[email protected]> | 2015-10-29 07:11:24 +0100 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2015-11-13 18:15:20 +0100 |
| commit | 114b5812f6283f2325fc31e186b26c6d76f9551a (patch) | |
| tree | 6c04a7ee882b7d8a291bb9507ddd5cf17e23f704 /src/script/script.cpp | |
| parent | Merge pull request #6983 (diff) | |
| download | discoin-114b5812f6283f2325fc31e186b26c6d76f9551a.tar.xz discoin-114b5812f6283f2325fc31e186b26c6d76f9551a.zip | |
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 263c89def..9c77ed9fc 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 |