insert existing node to routing table

This commit is contained in:
orignal committed 2026-10-01 22:11:03 -04:00
1 parent 842a2cb9b9
commit d2b9c1a099
1 file changed
+1 -1
+1 -1
View File
@@ -1024,7 +1024,7 @@ namespace torrents
if (inserted)
LogPrint (eLogDebug, "TorrentsDHT: Node ", node->peer.ToBase64 (), ":", node->port, " added");
it->second->lastUpdateTime = i2p::util::GetMonotonicSeconds ();
if (m_RoutingTable) m_RoutingTable->AddNode (node);
if (m_RoutingTable) m_RoutingTable->AddNode (it->second);
return it->second;
}