aboutsummaryrefslogtreecommitdiff
path: root/src/keystore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/keystore.cpp')
-rw-r--r--src/keystore.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/keystore.cpp b/src/keystore.cpp
index 8c149a9250..0319c469fc 100644
--- a/src/keystore.cpp
+++ b/src/keystore.cpp
@@ -196,10 +196,3 @@ CKeyID GetKeyForDestination(const CBasicKeyStore& store, const CTxDestination& d
}
return CKeyID();
}
-
-bool HaveKey(const CBasicKeyStore& store, const CKey& key)
-{
- CKey key2;
- key2.Set(key.begin(), key.end(), !key.IsCompressed());
- return store.HaveKey(key.GetPubKey().GetID()) || store.HaveKey(key2.GetPubKey().GetID());
-}