mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-23 12:52:51 +00:00
replace CalcuateIdentHash to identity.Hash to avoid duplication
This commit is contained in:
1 parent
40d5489429
commit
b3ee41bd91
5 files changed
+3
-11
No files matched your search
+1
-1
@@ -34,7 +34,7 @@ namespace data
|
||||
void RouterInfo::SetRouterIdentity (const Identity& identity)
|
||||
{
|
||||
m_RouterIdentity = identity;
|
||||
m_IdentHash = CalculateIdentHash (m_RouterIdentity);
|
||||
m_IdentHash = m_RouterIdentity.Hash ();
|
||||
UpdateIdentHashBase64 ();
|
||||
UpdateRoutingKey ();
|
||||
m_Timestamp = i2p::util::GetMillisecondsSinceEpoch ();
|
||||
|
||||
Reference in new issue
Block a user