cleanup comment

This commit is contained in:
tycho garen
2022-06-16 16:55:55 -04:00
parent b4561c4c7c
commit e2dbdfe289

View File

@@ -923,8 +923,7 @@ func (m *PeerManager) Inactivate(peerID types.NodeID) error {
// Advertise returns a list of peer addresses to advertise to a peer.
//
// It sorts all peers in the peer store, and assembles a list of peers
// that is most likely to include the highest priority of peers and
// then
// that is most likely to include the highest priority of peers.
func (m *PeerManager) Advertise(peerID types.NodeID, limit uint16) []NodeAddress {
m.mtx.Lock()
defer m.mtx.Unlock()