mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-22 11:32:26 +00:00
moved local LeaseSet update from Stream to RoutingSession
This commit is contained in:
1 parent
296b2d7372
commit
911ad52989
7 files changed
+35
-29
No files matched your search
+1
-2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user