diff --git a/ethstats/ethstats.go b/ethstats/ethstats.go index a5b9753163..36275c26ff 100644 --- a/ethstats/ethstats.go +++ b/ethstats/ethstats.go @@ -441,7 +441,7 @@ type nodeInfo struct { // authMsg is the authentication infos needed to login to a monitoring server. type authMsg struct { - Id string `json:"id"` + ID string `json:"id"` Info nodeInfo `json:"info"` Secret string `json:"secret"` } @@ -459,7 +459,7 @@ func (s *Service) login(conn *connWrapper) error { return errors.New("no eth protocol available") } auth := &authMsg{ - Id: s.node, + ID: s.node, Info: nodeInfo{ Name: s.node, Node: infos.Name,