Browse Source

don't use router's routing key for XOR metric

pull/102/head
orignal 10 years ago
parent
commit
030c04de81
  1. 2
      RouterInfo.cpp

2
RouterInfo.cpp

@ -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…
Cancel
Save