diff --git a/relay/server.go b/relay/server.go index 117127de1..47f1c488f 100644 --- a/relay/server.go +++ b/relay/server.go @@ -523,7 +523,7 @@ func (s *Server) RefreshOnchainState(ctx context.Context) error { // Stop stops the server. func (s *Server) Stop() error { if s.grpcServer != nil { - s.grpcServer.Stop() + s.grpcServer.GracefulStop() } err := s.metrics.Stop()