Commit 8dfe5c29 authored by Steven Allen's avatar Steven Allen Committed by GitHub

Merge pull request #6 from JustinDrake/patch-1

Remove comment about ListPeers being unsafe (fixes #4)
parents 0981122f e1f704ee
......@@ -205,7 +205,6 @@ func (rt *RoutingTable) Size() int {
}
// ListPeers takes a RoutingTable and returns a list of all peers from all buckets in the table.
// NOTE: This is potentially unsafe... use at your own risk
func (rt *RoutingTable) ListPeers() []peer.ID {
var peers []peer.ID
rt.tabLock.RLock()
......
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