aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Chow <[email protected]>2019-10-29 17:49:39 -0400
committerAndrew Chow <[email protected]>2019-11-01 22:58:05 -0400
commit0391aba52dcc33613295fd6099c804ac7134b063 (patch)
tree8fed317d8ccc908d96d1642d55383d597ac669bc /src
parentRefactor: Move SetWalletFlag out of LegacyScriptPubKeyMan::UpgradeKeyMetadata (diff)
downloaddiscoin-0391aba52dcc33613295fd6099c804ac7134b063.tar.xz
discoin-0391aba52dcc33613295fd6099c804ac7134b063.zip
Remove SetWalletFlag from WalletStorage
SetWalletFlag is unused. Does not change any behavior
Diffstat (limited to 'src')
-rw-r--r--src/wallet/scriptpubkeyman.h1
-rw-r--r--src/wallet/wallet.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/wallet/scriptpubkeyman.h b/src/wallet/scriptpubkeyman.h
index f7a3b81d3..0ef62e3f5 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 f3b791441..cb4dd71b1 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);