|
@ -37,7 +37,9 @@ func NewGRPCServer(protoAddr string, app types.ABCIApplicationServer) cmn.Servic |
|
|
|
|
|
|
|
|
// OnStart starts the gRPC service
|
|
|
// OnStart starts the gRPC service
|
|
|
func (s *GRPCServer) OnStart() error { |
|
|
func (s *GRPCServer) OnStart() error { |
|
|
s.BaseService.OnStart() |
|
|
|
|
|
|
|
|
if err := s.BaseService.OnStart(); err != nil { |
|
|
|
|
|
return err |
|
|
|
|
|
} |
|
|
ln, err := net.Listen(s.proto, s.addr) |
|
|
ln, err := net.Listen(s.proto, s.addr) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
return err |
|
|
return err |
|
|