fixed crash

pull/1693/head
orignal 3 years ago
parent c763472914
commit a54b5c18c6

@ -469,7 +469,7 @@ namespace tunnel
{
LogPrint (eLogInfo, "Tunnels: Can't select first hop for a tunnel. Trying already connected");
hop = i2p::transport::transports.GetRandomPeer ();
if (!hop->IsECIES ()) hop = nullptr;
if (hop && !hop->IsECIES ()) hop = nullptr;
}
if (!hop)
{

Loading…
Cancel
Save