From 16652a93ea6d25674fe318ef5e213e98427c8947 Mon Sep 17 00:00:00 2001 From: Martin Zumsande Date: Tue, 11 May 2021 00:22:14 +0200 Subject: [PATCH] refactor: Remove unused KeyIDHasher --- src/wallet/scriptpubkeyman.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/wallet/scriptpubkeyman.h b/src/wallet/scriptpubkeyman.h index 93e1886102..ef74638751 100644 --- a/src/wallet/scriptpubkeyman.h +++ b/src/wallet/scriptpubkeyman.h @@ -148,17 +148,6 @@ public: } }; -class KeyIDHasher -{ -public: - KeyIDHasher() {} - - size_t operator()(const CKeyID& id) const - { - return id.GetUint64(0); - } -}; - /* * A class implementing ScriptPubKeyMan manages some (or all) scriptPubKeys used in a wallet. * It contains the scripts and keys related to the scriptPubKeys it manages.