From 030c04de810f0667f31e27b0802e42c83e5165e7 Mon Sep 17 00:00:00 2001 From: orignal Date: Mon, 13 Oct 2014 22:45:25 -0400 Subject: [PATCH] don't use router's routing key for XOR metric --- RouterInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RouterInfo.cpp b/RouterInfo.cpp index 14171576..70b1becf 100644 --- a/RouterInfo.cpp +++ b/RouterInfo.cpp @@ -292,7 +292,7 @@ namespace data void RouterInfo::UpdateRoutingKey () { - m_RoutingKey = CreateRoutingKey (m_IdentHash); + memcpy (m_RoutingKey.hash, (const uint8_t *)m_IdentHash, 32); } void RouterInfo::WriteToStream (std::ostream& s)