Remove unused CKeyStoreIsMineVisitor
This commit is contained in:
parent
8b11d3de7a
commit
54e658f249
1 changed files with 0 additions and 12 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue