mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-25 10:41:41 +00:00
Return NewServer listener start error
This commit is contained in:
@ -35,8 +35,8 @@ func NewServer(protoAddr string, app types.Application) (*Server, error) {
|
|||||||
app: app,
|
app: app,
|
||||||
}
|
}
|
||||||
s.QuitService = *NewQuitService(nil, "TMSPServer", s)
|
s.QuitService = *NewQuitService(nil, "TMSPServer", s)
|
||||||
s.Start() // Just start it
|
_, err := s.Start() // Just start it
|
||||||
return s, nil
|
return s, err
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Server) OnStart() error {
|
func (s *Server) OnStart() error {
|
||||||
|
Reference in New Issue
Block a user