mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-05-17 23:56:39 +00:00
Drop dead code CScript::Find
Last use removed in 922e8e2929a2e78270868385aa46f96002fbcff3 (2012!)
This commit is contained in:
parent
5df84de583
commit
8cbc5c4be4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user