Skip to content

Commit

Permalink
Merge branch 'rm-no-verify' of github.com:prysmaticlabs/prysm into rm…
Browse files Browse the repository at this point in the history
…-no-verify
  • Loading branch information
terencechain committed Aug 14, 2020
2 parents 60a9c86 + cd81995 commit e4f4488
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions validator/rpc/gateway/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ func (g *Gateway) Start() {
if err := pb.RegisterAuthHandlerFromEndpoint(ctx, gwmux, g.remoteAddr, opts); err != nil {
log.Fatalf("Could not register API handler with grpc endpoint: %v", err)
}
if err := pb.RegisterHealthHandlerFromEndpoint(ctx, gwmux, g.remoteAddr, opts); err != nil {
log.Fatalf("Could not register API handler with grpc endpoint: %v", err)
}
g.mux.Handle("/", g.corsMiddleware(gwmux))
g.server = &http.Server{
Addr: g.gatewayAddr,
Expand Down
1 change: 1 addition & 0 deletions validator/rpc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ func (s *Server) Start() {
// Register services available for the gRPC server.
reflection.Register(s.grpcServer)
pb.RegisterAuthServer(s.grpcServer, s)
pb.RegisterHealthServer(s.grpcServer, s)

go func() {
if s.listener != nil {
Expand Down

0 comments on commit e4f4488

Please sign in to comment.