unconditionally update introset on dead path

pull/477/head
Jeff Becker 5 years ago
parent 24e7151ff5
commit b9207ce3e0
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -1058,6 +1058,8 @@ namespace llarp
void
Endpoint::OutboundContext::HandlePathDied(path::Path* path)
{
// unconditionally update introset
UpdateIntroSet(true);
const RouterID endpoint(path->Endpoint());
// if a path to our current intro died...
if(endpoint == remoteIntro.router)
@ -1100,7 +1102,6 @@ namespace llarp
// we got nothing
if(picked.router.IsZero())
{
UpdateIntroSet(true);
return;
}
m_NextIntro = picked;

Loading…
Cancel
Save