1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

Merge pull request #129 from majestrate/dev

update introset when paths are dead
This commit is contained in:
Jeff 2018-12-11 10:54:59 -05:00 committed by GitHub
commit f2c8b204c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1032,6 +1032,7 @@ namespace llarp
{
if(markedBad)
return true;
updatingIntroSet = false;
if(i)
{
if(currentIntroSet.T >= i->T)
@ -1055,7 +1056,6 @@ namespace llarp
else
SwapIntros();
}
updatingIntroSet = false;
return true;
}
@ -1291,6 +1291,11 @@ namespace llarp
{
SwapIntros();
}
else
{
llarp::LogInfo(Name(), " updating introset");
UpdateIntroSet(false);
}
return shiftedIntro;
}