Browse Source

fixed crash

pull/1693/head
orignal 3 years ago
parent
commit
a54b5c18c6
  1. 2
      libi2pd/TunnelPool.cpp

2
libi2pd/TunnelPool.cpp

@ -469,7 +469,7 @@ namespace tunnel @@ -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