mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
replace CalcuateIdentHash to identity.Hash to avoid duplication
This commit is contained in:
@@ -25,7 +25,7 @@ namespace data
|
||||
|
||||
const H * header = (const H *)buf;
|
||||
m_Identity = header->destination;
|
||||
m_IdentHash = CalculateIdentHash (m_Identity);
|
||||
m_IdentHash = m_Identity.Hash();
|
||||
memcpy (m_EncryptionKey, header->encryptionKey, 256);
|
||||
LogPrint ("LeaseSet num=", (int)header->num);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user