mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
fixed crash
This commit is contained in:
@@ -469,7 +469,7 @@ namespace tunnel
|
|||||||
{
|
{
|
||||||
LogPrint (eLogInfo, "Tunnels: Can't select first hop for a tunnel. Trying already connected");
|
LogPrint (eLogInfo, "Tunnels: Can't select first hop for a tunnel. Trying already connected");
|
||||||
hop = i2p::transport::transports.GetRandomPeer ();
|
hop = i2p::transport::transports.GetRandomPeer ();
|
||||||
if (!hop->IsECIES ()) hop = nullptr;
|
if (hop && !hop->IsECIES ()) hop = nullptr;
|
||||||
}
|
}
|
||||||
if (!hop)
|
if (!hop)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user