implemnented torrent tunnel param dht

This commit is contained in:
orignal committed 2026-09-24 19:14:02 -04:00
1 parent 1af997ac82
commit 6f24d4efdd
6 files changed
+31 -21

No files matched your search

+1 -1
View File
@@ -501,7 +501,7 @@ namespace torrents
m_Torrents.emplace (hash, torrent);
}
uint64_t token = m_Tunnel.GetLocalDestination () ? m_Tunnel.GetLocalDestination ()->GetRng ()() : 1;
it->second->AddIncomingGetPeerNode (token, node);
torrent->AddIncomingGetPeerNode (token, node);
if (m_RoutingTable)
{