1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-08-26 21:11:49 +00:00

set ECIESx25519 session's destination from LeaseSet

This commit is contained in:
orignal 2025-06-26 18:01:03 -04:00
parent 8c89c8368a
commit 31b6f07b78

View File

@ -489,7 +489,9 @@ namespace client
if (leaseSet->GetIdentHash () != GetIdentHash ())
{
LogPrint (eLogDebug, "Destination: New remote LeaseSet added");
m_RemoteLeaseSets[key] = leaseSet;
m_RemoteLeaseSets.insert_or_assign (key, leaseSet);
if (from)
from->SetDestination (key);
}
else
LogPrint (eLogDebug, "Destination: Own remote LeaseSet dropped");