always unset updatingIntroSet on response

This commit is contained in:
Jeff Becker 2018-12-11 10:51:21 -05:00
parent d3348e8721
commit 30a6a6bac6
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

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