mirror of https://github.com/oxen-io/lokinet
kill outbound context when we remove our convotag
This commit is contained in:
parent
71d17dc2c9
commit
e48feb8b9a
|
@ -337,6 +337,14 @@ namespace llarp
|
|||
{
|
||||
SwapIntros();
|
||||
}
|
||||
if (ReadyToSend() and IntroSent())
|
||||
{
|
||||
// if we dont have a cached session key after sending intro we are in a fugged state so
|
||||
// expunge
|
||||
SharedSecret discardme;
|
||||
if (not m_DataHandler->GetCachedSessionKeyFor(currentConvoTag, discardme))
|
||||
return true;
|
||||
}
|
||||
|
||||
if ((remoteIntro.router.IsZero() or m_BadIntros.count(remoteIntro))
|
||||
and GetPathByRouter(m_NextIntro.router))
|
||||
|
|
Loading…
Reference in New Issue