mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 14:08:40 +01:00
refactor: Use HashWriter over legacy CHashWriter (via SerializeHash)
This commit is contained in:
@@ -11,7 +11,7 @@ uint256 NetGroupManager::GetAsmapChecksum() const
|
||||
{
|
||||
if (!m_asmap.size()) return {};
|
||||
|
||||
return SerializeHash(m_asmap);
|
||||
return (HashWriter{} << m_asmap).GetHash();
|
||||
}
|
||||
|
||||
std::vector<unsigned char> NetGroupManager::GetGroup(const CNetAddr& address) const
|
||||
|
||||
Reference in New Issue
Block a user