diff options
author | Andrew Chow <achow101-github@achow101.com> | 2020-05-21 23:15:41 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2020-06-22 14:59:09 -0400 |
commit | 3a9aba21a49a6d80bd187940d5e26893937b6832 (patch) | |
tree | 7e1609717e04984f8b639a841f6def38a3380320 /src/wallet/wallet.h | |
parent | d9cd095b5965fc20c09f401370e7ba99446663e3 (diff) | |
download | bitcoin-3a9aba21a49a6d80bd187940d5e26893937b6832.tar.xz |
Split SetWalletFlags into Add/LoadWalletFlags
Remove memonly bool and follow typical Add and Load pattern used
everywhere else.
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index e55257bd5d..046b79c307 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -1174,7 +1174,9 @@ public: /** overwrite all flags by the given uint64_t returns false if unknown, non-tolerable flags are present */ - bool SetWalletFlags(uint64_t overwriteFlags, bool memOnly); + bool AddWalletFlags(uint64_t flags); + /** Loads the flags into the wallet. (used by LoadWallet) */ + bool LoadWalletFlags(uint64_t flags); /** Determine if we are a legacy wallet */ bool IsLegacy() const; |