Drop dead code CScript::Find

Last use removed in 922e8e2929 (2012!)
This commit is contained in:
Ben Woosley 2018-04-12 13:47:53 -07:00
parent 5df84de583
commit 8cbc5c4be4
No known key found for this signature in database
GPG key ID: 4D8CA4BA18040906

View file

@ -615,15 +615,6 @@ public:
return nFound;
}
int Find(opcodetype op) const
{
int nFound = 0;
opcodetype opcode;
for (const_iterator pc = begin(); pc != end() && GetOp(pc, opcode);)
if (opcode == op)
++nFound;
return nFound;
}
/**
* Pre-version-0.6, Bitcoin always counted CHECKMULTISIGs