diff --git a/api/services/explorer/service.go b/api/services/explorer/service.go index d7b30a942..69cd36f11 100644 --- a/api/services/explorer/service.go +++ b/api/services/explorer/service.go @@ -61,7 +61,7 @@ func (s *Service) Run() { s.router.Path("/address").HandlerFunc(s.GetExplorerAddress) // Do serving now. - utils.GetLogInstance().Info("Listening to ", "port: ", GetExplorerPort(s.Port)) + utils.GetLogInstance().Info("Listening on ", "port: ", GetExplorerPort(s.Port)) log.Fatal(http.ListenAndServe(addr, s.router)) } @@ -81,7 +81,6 @@ func (s *Service) GetAccountBlocks(from, to int) []*types.Block { } block := new(types.Block) if rlp.DecodeBytes(data, block) != nil { - utils.GetLogInstance().Error("Error on getting from db") os.Exit(1) }