Skip to content

Commit 36b13b4

Browse files
kallewoofvijaydasmp
authored andcommitted
partial Merge bitcoin#13756: wallet: avoid_reuse wallet flag for improved privacy
1 parent 23b2b63 commit 36b13b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/wallet/wallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1950,7 +1950,7 @@ void CWallet::SetWalletFlag(uint64_t flags)
19501950
throw std::runtime_error(std::string(__func__) + ": writing wallet flags failed");
19511951
}
19521952

1953-
bool CWallet::IsWalletFlagSet(uint64_t flag)
1953+
bool CWallet::IsWalletFlagSet(uint64_t flag) const
19541954
{
19551955
return (m_wallet_flags & flag);
19561956
}

src/wallet/wallet.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,7 @@ class CWallet final : public CCryptoKeyStore, private interfaces::Chain::Notific
12461246
void SetWalletFlag(uint64_t flags);
12471247

12481248
/** check if a certain wallet flag is set */
1249-
bool IsWalletFlagSet(uint64_t flag);
1249+
bool IsWalletFlagSet(uint64_t flag) const;
12501250

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

0 commit comments

Comments
 (0)