This commit is contained in:
dr|z3d 2021-09-05 13:21:28 +00:00
commit d07ead9786
4 changed files with 36 additions and 132 deletions

View file

@ -469,7 +469,7 @@ namespace tunnel
{
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 && !hop->IsECIES ()) hop = nullptr;
}
if (!hop)
{