wallet: rename g_known_wallet_flags constant to KNOWN_WALLET_FLAGS

This commit is contained in:
Karl-Johan Alm
2019-05-24 14:55:27 +09:00
parent ab6d18e6f8
commit 129a5bafd9
2 changed files with 2 additions and 2 deletions

View File

@@ -1571,7 +1571,7 @@ bool CWallet::SetWalletFlags(uint64_t overwriteFlags, bool memonly)
{
LOCK(cs_wallet);
m_wallet_flags = overwriteFlags;
if (((overwriteFlags & g_known_wallet_flags) >> 32) ^ (overwriteFlags >> 32)) {
if (((overwriteFlags & KNOWN_WALLET_FLAGS) >> 32) ^ (overwriteFlags >> 32)) {
// contains unknown non-tolerable wallet flags
return false;
}