Skip to content

Commit 3afe53c

Browse files
committed
Cleanup: Drop unused GUI learnRelatedScripts method
This commit does not change behavior.
1 parent e2f02aa commit 3afe53c

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/interfaces/wallet.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ class WalletImpl : public Wallet
180180
}
181181
return result;
182182
}
183-
void learnRelatedScripts(const CPubKey& key, OutputType type) override { m_wallet->GetLegacyScriptPubKeyMan()->LearnRelatedScripts(key, type); }
184183
bool addDestData(const CTxDestination& dest, const std::string& key, const std::string& value) override
185184
{
186185
LOCK(m_wallet->cs_wallet);

src/interfaces/wallet.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,6 @@ class Wallet
108108
//! Get wallet address list.
109109
virtual std::vector<WalletAddress> getAddresses() = 0;
110110

111-
//! Add scripts to key store so old so software versions opening the wallet
112-
//! database can detect payments to newer address types.
113-
virtual void learnRelatedScripts(const CPubKey& key, OutputType type) = 0;
114-
115111
//! Add dest data.
116112
virtual bool addDestData(const CTxDestination& dest, const std::string& key, const std::string& value) = 0;
117113

0 commit comments

Comments
 (0)