mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
replace CalcuateIdentHash to identity.Hash to avoid duplication
This commit is contained in:
parent
40d5489429
commit
b3ee41bd91
5 changed files with 3 additions and 11 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue