From d2b9c1a09972fa278b9de87887593e2a73f1b613 Mon Sep 17 00:00:00 2001 From: orignal Date: Thu, 1 Oct 2026 22:11:03 -0400 Subject: [PATCH] insert existing node to routing table --- libi2pd_client/TorrentsDHT.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libi2pd_client/TorrentsDHT.cpp b/libi2pd_client/TorrentsDHT.cpp index 116ab767..dace91ec 100644 --- a/libi2pd_client/TorrentsDHT.cpp +++ b/libi2pd_client/TorrentsDHT.cpp @@ -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; }