aboutsummaryrefslogtreecommitdiff
path: root/src/script.cpp
diff options
context:
space:
mode:
authorjtimon <jtimon@monetize.io>2014-08-12 00:13:45 +0200
committerjtimon <jtimon@monetize.io>2014-08-12 02:02:17 +0200
commit54e658f249f8b2a2cbf7dbe2bab9749faa91c611 (patch)
tree2e4517700fc12d95d09c91f132baebea1a05adaf /src/script.cpp
parent8b11d3de7aa4fc3f6c4e7bf292495850034ded2c (diff)
Remove unused CKeyStoreIsMineVisitor
Diffstat (limited to 'src/script.cpp')
-rw-r--r--src/script.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/script.cpp b/src/script.cpp
index 39ae001db8..942e8810db 100644
--- a/src/script.cpp
+++ b/src/script.cpp
@@ -1444,18 +1444,6 @@ unsigned int HaveKeys(const vector<valtype>& pubkeys, const CKeyStore& keystore)
return nResult;
}
-
-class CKeyStoreIsMineVisitor : public boost::static_visitor<bool>
-{
-private:
- const CKeyStore *keystore;
-public:
- CKeyStoreIsMineVisitor(const CKeyStore *keystoreIn) : keystore(keystoreIn) { }
- bool operator()(const CNoDestination &dest) const { return false; }
- bool operator()(const CKeyID &keyID) const { return keystore->HaveKey(keyID); }
- bool operator()(const CScriptID &scriptID) const { return keystore->HaveCScript(scriptID); }
-};
-
isminetype IsMine(const CKeyStore &keystore, const CTxDestination& dest)
{
CScript script;