1
0
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:
orignal 2014-10-13 22:45:25 -04:00
parent 3a4b6bd7b0
commit 030c04de81

View File

@ -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)