Skip to content

Commit

Permalink
partial Merge bitcoin#13756: wallet: avoid_reuse wallet flag for impr…
Browse files Browse the repository at this point in the history
…oved privacy
  • Loading branch information
kallewoof authored and vijaydasmp committed Dec 13, 2021
1 parent 87d2130 commit de9acf5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1948,7 +1948,7 @@ void CWallet::SetWalletFlag(uint64_t flags)
throw std::runtime_error(std::string(__func__) + ": writing wallet flags failed");
}

bool CWallet::IsWalletFlagSet(uint64_t flag)
bool CWallet::IsWalletFlagSet(uint64_t flag) const
{
return (m_wallet_flags & flag);
}
Expand Down
2 changes: 1 addition & 1 deletion src/wallet/wallet.h
Original file line number Diff line number Diff line change
Expand Up @@ -1246,7 +1246,7 @@ class CWallet final : public CCryptoKeyStore, private interfaces::Chain::Notific
void SetWalletFlag(uint64_t flags);

/** check if a certain wallet flag is set */
bool IsWalletFlagSet(uint64_t flag);
bool IsWalletFlagSet(uint64_t flag) const;

/** overwrite all flags by the given uint64_t
returns false if unknown, non-tolerable flags are present */
Expand Down

0 comments on commit de9acf5

Please sign in to comment.