aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/scriptpubkeyman.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2019-11-19 18:33:20 -0500
committerAndrew Chow <achow101-github@achow101.com>2019-11-26 11:46:40 -0500
commit9fcf8ce7ae02bf170b9bf0c2887fd709d752cbf7 (patch)
tree4416ea6c352f2c8dabea6aa83864a2cd957bc3d9 /src/wallet/scriptpubkeyman.h
parent596f6460f9fd8273665c8754ccd673d93a4f25f0 (diff)
downloadbitcoin-9fcf8ce7ae02bf170b9bf0c2887fd709d752cbf7.tar.xz
Rename Keep/ReturnKey to Keep/ReturnDestination and remove the wrapper
There is no reason to have Keep/ReturnDestination to be a wrapper for Keep/ReturnKey. Instead just make them the same function.
Diffstat (limited to 'src/wallet/scriptpubkeyman.h')
-rw-r--r--src/wallet/scriptpubkeyman.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/wallet/scriptpubkeyman.h b/src/wallet/scriptpubkeyman.h
index 4f17156792..5d366f441e 100644
--- a/src/wallet/scriptpubkeyman.h
+++ b/src/wallet/scriptpubkeyman.h
@@ -266,9 +266,6 @@ private:
*/
bool ReserveKeyFromKeyPool(int64_t& nIndex, CKeyPool& keypool, bool fRequestedInternal);
- void KeepKey(int64_t nIndex);
- void ReturnKey(int64_t nIndex, bool fInternal, const CPubKey& pubkey);
-
public:
bool GetNewDestination(const OutputType type, CTxDestination& dest, std::string& error) override;
isminetype IsMine(const CScript& script) const override;