mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
[MOVEONLY] Turn CScript::GetOp2 into a function and move to cpp
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user