mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-13 04:46:38 +01:00
don't use router's routing key for XOR metric
This commit is contained in:
parent
3a4b6bd7b0
commit
030c04de81
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue