mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
Cleanup: Drop unused GUI learnRelatedScripts method
This commit does not change behavior.
This commit is contained in:
parent
e2f02aa59e
commit
3afe53c403
2 changed files with 0 additions and 5 deletions
|
|
@ -180,7 +180,6 @@ public:
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
void learnRelatedScripts(const CPubKey& key, OutputType type) override { m_wallet->GetLegacyScriptPubKeyMan()->LearnRelatedScripts(key, type); }
|
|
||||||
bool addDestData(const CTxDestination& dest, const std::string& key, const std::string& value) override
|
bool addDestData(const CTxDestination& dest, const std::string& key, const std::string& value) override
|
||||||
{
|
{
|
||||||
LOCK(m_wallet->cs_wallet);
|
LOCK(m_wallet->cs_wallet);
|
||||||
|
|
|
||||||
|
|
@ -108,10 +108,6 @@ public:
|
||||||
//! Get wallet address list.
|
//! Get wallet address list.
|
||||||
virtual std::vector<WalletAddress> getAddresses() = 0;
|
virtual std::vector<WalletAddress> getAddresses() = 0;
|
||||||
|
|
||||||
//! Add scripts to key store so old so software versions opening the wallet
|
|
||||||
//! database can detect payments to newer address types.
|
|
||||||
virtual void learnRelatedScripts(const CPubKey& key, OutputType type) = 0;
|
|
||||||
|
|
||||||
//! Add dest data.
|
//! Add dest data.
|
||||||
virtual bool addDestData(const CTxDestination& dest, const std::string& key, const std::string& value) = 0;
|
virtual bool addDestData(const CTxDestination& dest, const std::string& key, const std::string& value) = 0;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue