Unverified Commit d70e9274 authored by vyzo's avatar vyzo Committed by GitHub

Merge pull request #206 from mtojek/master

Rephrase "betterPeersToQuery" method comment to be less cryptic
parents 5c9bb4b9 28e7c7ac
......@@ -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 if and only if 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