Skip to content

Commit 8cbc5c4

Browse files
committed
Drop dead code CScript::Find
Last use removed in 922e8e2 (2012!)
1 parent 5df84de commit 8cbc5c4

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/script/script.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -615,15 +615,6 @@ class CScript : public CScriptBase
615615

616616
return nFound;
617617
}
618-
int Find(opcodetype op) const
619-
{
620-
int nFound = 0;
621-
opcodetype opcode;
622-
for (const_iterator pc = begin(); pc != end() && GetOp(pc, opcode);)
623-
if (opcode == op)
624-
++nFound;
625-
return nFound;
626-
}
627618

628619
/**
629620
* Pre-version-0.6, Bitcoin always counted CHECKMULTISIGs

0 commit comments

Comments
 (0)