1
1
Fork 0
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:
Jeff Becker 2018-09-18 10:04:46 -04:00
parent 271acaf7e9
commit 2cf5e14ae9
No known key found for this signature in database
GPG key ID: F357B3B42F6F9B05

View file

@ -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;