@ -905,8 +905,7 @@ namespace data
{
return !router->IsHidden () && router != compatibleWith &&
router->IsCompatible (*compatibleWith) &&
(router->GetCaps () & RouterInfo::eHighBandwidth) &&
!router->GetProfile ()->IsBad ();
(router->GetCaps () & RouterInfo::eHighBandwidth);
});
}
@ -282,7 +282,7 @@ namespace tunnel
auto hop = isExploratory ? i2p::data::netdb.GetRandomRouter (prevHop):
i2p::data::netdb.GetHighBandwidthRandomRouter (prevHop);
if (!hop)
if (!hop || hop->GetProfile ()->IsBad ())
hop = i2p::data::netdb.GetRandomRouter ();
return hop;