diff options
author | Ben Woosley <ben.woosley@gmail.com> | 2018-04-12 13:47:53 -0700 |
---|---|---|
committer | Ben Woosley <ben.woosley@gmail.com> | 2018-04-12 18:57:23 -0700 |
commit | 8cbc5c4be4be22aca228074f087a374a7ec38be8 (patch) | |
tree | 3400ff06e3165c3428baa372407d8f22c37a7d7b /src/script/script.h | |
parent | 5df84de583c900e00fef63bedaef32786f205a33 (diff) |
Drop dead code CScript::Find
Last use removed in 922e8e2929a2e78270868385aa46f96002fbcff3 (2012!)
Diffstat (limited to 'src/script/script.h')
-rw-r--r-- | src/script/script.h | 9 |
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 |