Browse Source

don't check session for single tag

pull/2036/head
orignal 10 months ago
parent
commit
bb702700f7
  1. 3
      libi2pd/Garlic.cpp

3
libi2pd/Garlic.cpp

@ -887,8 +887,7 @@ namespace garlic @@ -887,8 +887,7 @@ namespace garlic
}
else
{
auto session = it->second.tagset->GetSession ();
if (!session || session->IsTerminated())
if (it->second.tagset->IsSessionTerminated ())
{
it = m_ECIESx25519Tags.erase (it);
numExpiredTags++;

Loading…
Cancel
Save