Browse Source

don't check for exact LS

pull/557/head
Jeff Becker 9 years ago
parent
commit
ff757ddc88
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
  1. 5
      Destination.cpp

5
Destination.cpp

@ -459,9 +459,7 @@ namespace client @@ -459,9 +459,7 @@ namespace client
// "this" added due to bug in gcc 4.7-4.8
[s,this](std::shared_ptr<i2p::data::LeaseSet> leaseSet)
{
if (leaseSet)
{
if (s->m_LeaseSet && *s->m_LeaseSet == *leaseSet)
if (leaseSet && s->m_LeaseSet)
{
// we got latest LeasetSet
LogPrint (eLogDebug, "Destination: published LeaseSet verified for ", GetIdentHash().ToBase32());
@ -469,7 +467,6 @@ namespace client @@ -469,7 +467,6 @@ namespace client
s->m_PublishVerificationTimer.async_wait (std::bind (&LeaseSetDestination::HandlePublishVerificationTimer, s, std::placeholders::_1));
return;
}
}
else
LogPrint (eLogWarning, "Destination: couldn't find published LeaseSet for ", GetIdentHash().ToBase32());
// we have to publish again

Loading…
Cancel
Save