mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 13:27:17 +01:00
fixed crash
This commit is contained in:
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…
Reference in a new issue