diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2018-04-04 09:14:13 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2018-04-13 09:07:29 -0700 |
commit | 54a5a21158f740990048b1d43c641630744cf3ee (patch) | |
tree | 4d133b4c58fee0933019b05926c6df188bc313ab /src/core_write.cpp | |
parent | 6a7456ad6072f405e8b02bffa0fb4e9f0cfe71e0 (diff) |
[MOVEONLY] Turn CScript::GetOp2 into a function and move to cpp
Diffstat (limited to 'src/core_write.cpp')
-rw-r--r-- | src/core_write.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core_write.cpp b/src/core_write.cpp index 54b18a4931..58d3aad5bf 100644 --- a/src/core_write.cpp +++ b/src/core_write.cpp @@ -34,7 +34,7 @@ std::string FormatScript(const CScript& script) while (it != script.end()) { CScript::const_iterator it2 = it; std::vector<unsigned char> vch; - if (script.GetOp2(it, op, &vch)) { + if (script.GetOp(it, op, vch)) { if (op == OP_0) { ret += "0 "; continue; |