diff options
| author | Wladimir J. van der Laan <[email protected]> | 2018-04-13 14:55:01 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2018-04-13 15:09:04 +0200 |
| commit | 94deb093499ca72154b794b3005d5cdaa6d97de9 (patch) | |
| tree | 3400ff06e3165c3428baa372407d8f22c37a7d7b /src/script | |
| parent | Merge #12970: logging: bypass timestamp formatting when not logging (diff) | |
| parent | Drop dead code CScript::Find (diff) | |
| download | discoin-94deb093499ca72154b794b3005d5cdaa6d97de9.tar.xz discoin-94deb093499ca72154b794b3005d5cdaa6d97de9.zip | |
Merge #12969: Drop dead code CScript::Find
8cbc5c4 Drop dead code CScript::Find (Ben Woosley)
Pull request description:
Last use removed in 922e8e2 (2012!)
Tree-SHA512: d62daf2fc340a04c5f68990aa450d6738fadf4df6c50507fe02ecb62ae329b77db401719bf556a69f747408efdea5bc98af5e41ba82650b2f6d8b2d5489625e4
Diffstat (limited to 'src/script')
| -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 8e5a792c7..59ceff247 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 |