diff options
author | Andrew Chow <achow101-github@achow101.com> | 2019-10-29 17:49:39 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2019-11-01 22:58:05 -0400 |
commit | 0391aba52dcc33613295fd6099c804ac7134b063 (patch) | |
tree | 8fed317d8ccc908d96d1642d55383d597ac669bc /src/wallet | |
parent | 4c5491f99c6b8ca779c48be63eb2ba18d98ee52a (diff) |
Remove SetWalletFlag from WalletStorage
SetWalletFlag is unused.
Does not change any behavior
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/scriptpubkeyman.h | 1 | ||||
-rw-r--r-- | src/wallet/wallet.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/wallet/scriptpubkeyman.h b/src/wallet/scriptpubkeyman.h index f7a3b81d3a..0ef62e3f50 100644 --- a/src/wallet/scriptpubkeyman.h +++ b/src/wallet/scriptpubkeyman.h @@ -28,7 +28,6 @@ public: virtual const std::string GetDisplayName() const = 0; virtual WalletDatabase& GetDatabase() = 0; virtual bool IsWalletFlagSet(uint64_t) const = 0; - virtual void SetWalletFlag(uint64_t) = 0; virtual void UnsetWalletFlagWithDB(WalletBatch&, uint64_t) = 0; virtual bool CanSupportFeature(enum WalletFeature) const = 0; virtual void SetMinVersion(enum WalletFeature, WalletBatch* = nullptr, bool = false) = 0; diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index f3b791441c..cb4dd71b1c 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -1090,7 +1090,7 @@ public: void BlockUntilSyncedToCurrentChain() LOCKS_EXCLUDED(cs_main, cs_wallet); /** set a single wallet flag */ - void SetWalletFlag(uint64_t flags) override; + void SetWalletFlag(uint64_t flags); /** Unsets a single wallet flag */ void UnsetWalletFlag(uint64_t flag); |