mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
lookup routers for intros
This commit is contained in:
parent
271acaf7e9
commit
2cf5e14ae9
|
@ -949,7 +949,8 @@ namespace llarp
|
|||
bool shifted = false;
|
||||
for(const auto& intro : currentIntroSet.I)
|
||||
{
|
||||
m_Endpoint->EnsureRouterIsKnown(remoteIntro.router);
|
||||
if(!intro.router.IsZero())
|
||||
m_Endpoint->EnsureRouterIsKnown(intro.router);
|
||||
if(m_BadIntros.count(intro) == 0 && remoteIntro != intro)
|
||||
{
|
||||
remoteIntro = intro;
|
||||
|
|
Loading…
Reference in a new issue