TunnelPool: don't enforce ECIES for tunnel selection for now, causes seg fault.

This commit is contained in:
dr|z3d 2021-09-05 03:12:01 +00:00
parent feed4c8d4b
commit 2caffa56e8

View file

@ -467,9 +467,9 @@ namespace tunnel
auto hop = nextHop (prevHop, inbound);
if (!hop && !i) // if no suitable peer found for first hop, try already connected
{
LogPrint (eLogInfo, "Tunnels: Can't select first hop for a tunnel. Trying already connected");
LogPrint (eLogInfo, "Tunnels: No suitable peer found for first hop, trying existing connections");
hop = i2p::transport::transports.GetRandomPeer ();
if (!hop->IsECIES ()) hop = nullptr;
//if (!hop->IsECIES ()) hop = nullptr;
}
if (!hop)
{