aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-08-12 08:25:24 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-08-12 08:25:31 +0200
commit47963936d6e13007af4c0bc1f1618fbf05f26239 (patch)
tree2e4517700fc12d95d09c91f132baebea1a05adaf
parent8b11d3de7aa4fc3f6c4e7bf292495850034ded2c (diff)
parent54e658f249f8b2a2cbf7dbe2bab9749faa91c611 (diff)
Merge pull request #4681
54e658f Remove unused CKeyStoreIsMineVisitor (jtimon)
-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;