mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
[MOVEONLY] Turn CScript::GetOp2 into a function and move to cpp
This commit is contained in:
parent
6a7456ad60
commit
54a5a21158
3 changed files with 57 additions and 54 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue