|
|
|
@ -252,7 +252,6 @@ namespace llarp
|
|
|
|
|
Endpoint::HandleGotIntroMessage(dht::GotIntroMessage_constptr msg)
|
|
|
|
|
{
|
|
|
|
|
std::set< EncryptedIntroSet > remote;
|
|
|
|
|
auto currentPub = m_state->m_CurrentPublishTX;
|
|
|
|
|
for(const auto& introset : msg->found)
|
|
|
|
|
{
|
|
|
|
|
if(not introset.Verify(Now()))
|
|
|
|
@ -260,14 +259,6 @@ namespace llarp
|
|
|
|
|
LogError(Name(), " got invalid introset");
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if(currentPub == msg->txid)
|
|
|
|
|
{
|
|
|
|
|
LogInfo(
|
|
|
|
|
"got introset publish confirmation for hidden service endpoint ",
|
|
|
|
|
Name());
|
|
|
|
|
IntroSetPublished();
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
remote.insert(introset);
|
|
|
|
|
}
|
|
|
|
|
auto& lookups = m_state->m_PendingLookups;
|
|
|
|
|