aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2022-08-05 02:53:34 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2022-08-05 02:54:15 +0000
commit0cb6d2aec63aec76a517b8da621a3c53ab432632 (patch)
tree86e1ad71bd3a49395967ddf6ae9de27b69aab8da /src/wallet/wallet.h
parent30308cc380a8176a5ec0e0bd2beed8b9c482ccf7 (diff)
Bugfix: Wallet: Document expectations for AddWalletFlags (now InitWalletFlags) correctly
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index e2c5c69c91..e2b985d9d8 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -781,8 +781,9 @@ public:
bool IsWalletFlagSet(uint64_t flag) const override;
/** overwrite all flags by the given uint64_t
- returns false if unknown, non-tolerable flags are present */
- bool AddWalletFlags(uint64_t flags);
+ flags must be uninitialised (or 0)
+ only known flags may be present */
+ void InitWalletFlags(uint64_t flags);
/** Loads the flags into the wallet. (used by LoadWallet) */
bool LoadWalletFlags(uint64_t flags);