pubsub: [minor] remove unused stub method (#8316)

OnReset was removed from the service interface and we missed deleting
this.
This commit is contained in:
Sam Kleinman
2022-04-13 15:20:56 -04:00
committed by GitHub
parent c45367e22c
commit 0e4b18806e

View File

@@ -309,9 +309,6 @@ func (s *Server) Wait() { <-s.exited; s.BaseService.Wait() }
// OnStart implements Service.OnStart by starting the server.
func (s *Server) OnStart(ctx context.Context) error { s.run(ctx); return nil }
// OnReset implements Service.OnReset. It has no effect for this service.
func (s *Server) OnReset() error { return nil }
func (s *Server) publish(ctx context.Context, data types.EventData, events []abci.Event) error {
s.pubs.RLock()
defer s.pubs.RUnlock()