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)