diff --git a/internal/p2p/peermanager.go b/internal/p2p/peermanager.go index 7085edf47..f3b2fcf76 100644 --- a/internal/p2p/peermanager.go +++ b/internal/p2p/peermanager.go @@ -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()