updated LeaseSet must be sent after completion

pull/627/head
orignal 8 years ago
parent 8cb69c1482
commit aa687afd37

@ -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 ();
}

Loading…
Cancel
Save