mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 08:14:15 +00:00
don't use router's routing key for XOR metric
This commit is contained in:
parent
3a4b6bd7b0
commit
030c04de81
@ -292,7 +292,7 @@ namespace data
|
|||||||
|
|
||||||
void RouterInfo::UpdateRoutingKey ()
|
void RouterInfo::UpdateRoutingKey ()
|
||||||
{
|
{
|
||||||
m_RoutingKey = CreateRoutingKey (m_IdentHash);
|
memcpy (m_RoutingKey.hash, (const uint8_t *)m_IdentHash, 32);
|
||||||
}
|
}
|
||||||
|
|
||||||
void RouterInfo::WriteToStream (std::ostream& s)
|
void RouterInfo::WriteToStream (std::ostream& s)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user