diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -1500,7 +1500,7 @@ /** * 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. diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -1694,7 +1694,7 @@ } } -bool CWallet::IsWalletFlagSet(uint64_t flag) { +bool CWallet::IsWalletFlagSet(uint64_t flag) const { return (m_wallet_flags & flag); }