refactor: encapsulate flags get access for all other checks

No behavior change. This prepares moving the cache entry
flags field to private access.
This commit is contained in:
Andrew Toth
2024-06-28 16:19:17 -04:00
parent df34a94e57
commit 9715d3bf1e
2 changed files with 2 additions and 1 deletions

View File

@@ -603,7 +603,7 @@ void GetCoinsMapEntry(const CCoinsMap& map, CAmount& value, char& flags, const C
} else {
value = it->second.coin.out.nValue;
}
flags = it->second.flags;
flags = it->second.GetFlags();
assert(flags != NO_ENTRY);
}
}