mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
parent
f852b21b44
commit
04f6f697c9
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue