Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

query.go: Remove shuffle comment #586

Merged
merged 1 commit into from Apr 14, 2020
Merged

Conversation

mxinden
Copy link
Member

@mxinden mxinden commented Apr 14, 2020

As far as I can tell the list of peers is not being shuffled in this function. In addition NearestPeers returns them in sorted order.

Hope I am not missing something.

As far as I can tell the list of peers is not being shuffled in this function. In addition [`NearestPeers`](https://github.com/libp2p/go-libp2p-kbucket/blob/a8232c8ad2e784b3966d04f86a28f9223d1d11a8/table.go#L323) returns them in sorted order.

Hope I am not missing something.
@Stebalien Stebalien merged commit 7951e3c into libp2p:master Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants