Skip to content

Commit 7951e3c

Browse files
authored
Merge pull request #586 from mxinden/patch-1
query.go: Remove shuffle comment
2 parents 6edcea2 + ff1a117 commit 7951e3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

query.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ processFollowUp:
138138
}
139139

140140
func (dht *IpfsDHT) runQuery(ctx context.Context, target string, queryFn queryFn, stopFn stopFn) (*lookupWithFollowupResult, error) {
141-
// pick the K closest peers to the key in our Routing table and shuffle them.
141+
// pick the K closest peers to the key in our Routing table.
142142
targetKadID := kb.ConvertKey(target)
143143
seedPeers := dht.routingTable.NearestPeers(targetKadID, dht.bucketSize)
144144
if len(seedPeers) == 0 {

0 commit comments

Comments
 (0)