handle end case by telling requester that it's not there

pull/1089/head
Jeff Becker 4 years ago
parent 7e1a6236be
commit 3bea7327cb
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -112,12 +112,7 @@ namespace llarp
if(recursionDepth == 0)
{
// we don't have it
Key_t closer;
// find closer peer
if(!dht.Nodes()->FindClosest(location, closer))
return false;
replies.emplace_back(new GotIntroMessage(From, closer, txID));
replies.emplace_back(new GotIntroMessage({}, txID));
return true;
}

Loading…
Cancel
Save