diff --git a/pkg/network/server.go b/pkg/network/server.go index 3772a6018..cfe241d9f 100644 --- a/pkg/network/server.go +++ b/pkg/network/server.go @@ -190,12 +190,12 @@ func (s *Server) Shutdown() { // UnconnectedPeers returns a list of peers that are in the discovery peer list // but are not connected to the server. func (s *Server) UnconnectedPeers() []string { - return []string{} + return s.discovery.UnconnectedPeers() } // BadPeers returns a list of peers the are flagged as "bad" peers. func (s *Server) BadPeers() []string { - return []string{} + return s.discovery.BadPeers() } // ConnectedPeers returns a list of currently connected peers.