Commit 9afff7b2 authored by Marcin Tojek's avatar Marcin Tojek

Fix: typo in betterPeersToQuery

parent 5c9bb4b9
......@@ -330,7 +330,7 @@ func (dht *IpfsDHT) nearestPeersToQuery(pmes *pb.Message, count int) []peer.ID {
return closer
}
// betterPeerToQuery returns nearestPeersToQuery, but iff closer than self.
// betterPeersToQuery returns nearestPeersToQuery, but iff closer than self.
func (dht *IpfsDHT) betterPeersToQuery(pmes *pb.Message, p peer.ID, count int) []peer.ID {
closer := dht.nearestPeersToQuery(pmes, count)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment