1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-02-02 06:54:15 +00:00

updated LeaseSet must be sent after completion

This commit is contained in:
orignal 2016-09-01 09:48:04 -04:00
parent 8cb69c1482
commit aa687afd37

View File

@ -203,6 +203,7 @@ namespace client
void LeaseSetDestination::SetLeaseSet (i2p::data::LocalLeaseSet * newLeaseSet)
{
m_LeaseSet.reset (newLeaseSet);
i2p::garlic::GarlicDestination::SetLeaseSetUpdated ();
if (m_IsPublic)
{
m_PublishVerificationTimer.cancel ();
@ -391,8 +392,7 @@ namespace client
}
void LeaseSetDestination::SetLeaseSetUpdated ()
{
i2p::garlic::GarlicDestination::SetLeaseSetUpdated ();
{
UpdateLeaseSet ();
}