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
+3 -1
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");