mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
moved local LeaseSet update from Stream to RoutingSession
This commit is contained in:
parent
296b2d7372
commit
911ad52989
7 changed files with 35 additions and 29 deletions
|
@ -226,9 +226,8 @@ namespace stream
|
|||
|
||||
void StreamingDestination::SetLeaseSetUpdated ()
|
||||
{
|
||||
i2p::garlic::GarlicDestination::SetLeaseSetUpdated ();
|
||||
UpdateLeaseSet ();
|
||||
for (auto it: m_Streams)
|
||||
it.second->SetLeaseSetUpdated ();
|
||||
if (m_IsPublic)
|
||||
i2p::data::netdb.PublishLeaseSet (m_LeaseSet, m_Pool);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue