mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
updated LeaseSet must be sent after completion
This commit is contained in:
parent
8cb69c1482
commit
aa687afd37
|
@ -203,6 +203,7 @@ namespace client
|
||||||
void LeaseSetDestination::SetLeaseSet (i2p::data::LocalLeaseSet * newLeaseSet)
|
void LeaseSetDestination::SetLeaseSet (i2p::data::LocalLeaseSet * newLeaseSet)
|
||||||
{
|
{
|
||||||
m_LeaseSet.reset (newLeaseSet);
|
m_LeaseSet.reset (newLeaseSet);
|
||||||
|
i2p::garlic::GarlicDestination::SetLeaseSetUpdated ();
|
||||||
if (m_IsPublic)
|
if (m_IsPublic)
|
||||||
{
|
{
|
||||||
m_PublishVerificationTimer.cancel ();
|
m_PublishVerificationTimer.cancel ();
|
||||||
|
@ -392,7 +393,6 @@ namespace client
|
||||||
|
|
||||||
void LeaseSetDestination::SetLeaseSetUpdated ()
|
void LeaseSetDestination::SetLeaseSetUpdated ()
|
||||||
{
|
{
|
||||||
i2p::garlic::GarlicDestination::SetLeaseSetUpdated ();
|
|
||||||
UpdateLeaseSet ();
|
UpdateLeaseSet ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue