Skip to content

Commit

Permalink
Merge pull request #443 from aarshkshah1992/feat/remove-incorrect-doc
Browse files Browse the repository at this point in the history
Remove incorrect doc
  • Loading branch information
Stebalien authored Feb 4, 2020
2 parents 61b639e + 50d524d commit 245a1e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dht.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ func (dht *IpfsDHT) nearestPeersToQuery(pmes *pb.Message, count int) []peer.ID {
return closer
}

// betterPeersToQuery returns nearestPeersToQuery, but if and only if closer than self.
// betterPeersToQuery returns nearestPeersToQuery with some additional filtering
func (dht *IpfsDHT) betterPeersToQuery(pmes *pb.Message, p peer.ID, count int) []peer.ID {
closer := dht.nearestPeersToQuery(pmes, count)

Expand Down

0 comments on commit 245a1e2

Please sign in to comment.