From e2dbdfe28962e03a0ff9bc71a118e758a02128c8 Mon Sep 17 00:00:00 2001 From: tycho garen Date: Thu, 16 Jun 2022 16:55:55 -0400 Subject: [PATCH] cleanup comment --- internal/p2p/peermanager.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()