mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-08-27 09:41:52 +00:00
set ECIESx25519 session's destination from LeaseSet
This commit is contained in:
parent
8c89c8368a
commit
31b6f07b78
@ -489,7 +489,9 @@ namespace client
|
|||||||
if (leaseSet->GetIdentHash () != GetIdentHash ())
|
if (leaseSet->GetIdentHash () != GetIdentHash ())
|
||||||
{
|
{
|
||||||
LogPrint (eLogDebug, "Destination: New remote LeaseSet added");
|
LogPrint (eLogDebug, "Destination: New remote LeaseSet added");
|
||||||
m_RemoteLeaseSets[key] = leaseSet;
|
m_RemoteLeaseSets.insert_or_assign (key, leaseSet);
|
||||||
|
if (from)
|
||||||
|
from->SetDestination (key);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
LogPrint (eLogDebug, "Destination: Own remote LeaseSet dropped");
|
LogPrint (eLogDebug, "Destination: Own remote LeaseSet dropped");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user