mirror of
https://github.com/tendermint/tendermint.git
synced 2026-03-27 12:05:02 +00:00
cleanup comment
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user