Remove dead code

pull/1147/head
Stephen Shelton 4 years ago
parent a8623f09e9
commit 61d19179f7
No known key found for this signature in database
GPG Key ID: EE4BADACCE8B631C

@ -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;

@ -75,7 +75,6 @@ namespace llarp
PendingRouters m_PendingRouters;
uint64_t m_CurrentPublishTX = 0;
llarp_time_t m_LastPublish = 0s;
llarp_time_t m_LastPublishAttempt = 0s;
llarp_time_t m_MinPathLatency = 1s;

Loading…
Cancel
Save