update LeaseSet for ECIESX25519AEADRatchet sessions

This commit is contained in:
orignal 2020-03-08 20:58:59 -04:00
parent 4adc741de3
commit 3c53479864

View file

@ -809,11 +809,15 @@ namespace garlic
}
void GarlicDestination::SetLeaseSetUpdated ()
{
{
std::unique_lock<std::mutex> l(m_SessionsMutex);
for (auto& it: m_Sessions)
it.second->SetLeaseSetUpdated ();
}
for (auto& it: m_ECIESx25519Sessions)
it.second->SetLeaseSetUpdated ();
}
void GarlicDestination::ProcessGarlicMessage (std::shared_ptr<I2NPMessage> msg)
{