aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBen Woosley <ben.woosley@gmail.com>2018-04-12 13:47:53 -0700
committerBen Woosley <ben.woosley@gmail.com>2018-04-12 18:57:23 -0700
commit8cbc5c4be4be22aca228074f087a374a7ec38be8 (patch)
tree3400ff06e3165c3428baa372407d8f22c37a7d7b /src
parent5df84de583c900e00fef63bedaef32786f205a33 (diff)
Drop dead code CScript::Find
Last use removed in 922e8e2929a2e78270868385aa46f96002fbcff3 (2012!)
Diffstat (limited to 'src')
-rw-r--r--src/script/script.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/script/script.h b/src/script/script.h
index 8e5a792c7d..59ceff247c 100644
--- a/src/script/script.h
+++ b/src/script/script.h
@@ -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