aboutsummaryrefslogtreecommitdiff
path: root/src/core_write.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2018-04-04 09:14:13 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2018-04-13 09:07:29 -0700
commit54a5a21158f740990048b1d43c641630744cf3ee (patch)
tree4d133b4c58fee0933019b05926c6df188bc313ab /src/core_write.cpp
parent6a7456ad6072f405e8b02bffa0fb4e9f0cfe71e0 (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.cpp2
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;