fix intro section to not use first hop as intro

pull/598/head
Jeff Becker 5 years ago
parent e7a40ac4e5
commit 3821b4801c
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -298,7 +298,7 @@ namespace llarp
RouterContact& cur, size_t hop,
path::PathRole roles)
{
if(m_NextIntro.router.IsZero())
if(m_NextIntro.router.IsZero() || prev.count(m_NextIntro.router))
{
if(!ShiftIntroduction(false))
return false;

Loading…
Cancel
Save