From 0391aba52dcc33613295fd6099c804ac7134b063 Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Tue, 29 Oct 2019 17:49:39 -0400 Subject: [PATCH] Remove SetWalletFlag from WalletStorage SetWalletFlag is unused. Does not change any behavior --- src/wallet/scriptpubkeyman.h | 1 - src/wallet/wallet.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wallet/scriptpubkeyman.h b/src/wallet/scriptpubkeyman.h index f7a3b81d3a1..0ef62e3f50a 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 f3b791441c9..cb4dd71b1c0 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);