mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-16 01:40:44 +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.
|
// authMsg is the authentication infos needed to login to a monitoring server.
|
||||||
type authMsg struct {
|
type authMsg struct {
|
||||||
Id string `json:"id"`
|
ID string `json:"id"`
|
||||||
Info nodeInfo `json:"info"`
|
Info nodeInfo `json:"info"`
|
||||||
Secret string `json:"secret"`
|
Secret string `json:"secret"`
|
||||||
}
|
}
|
||||||
|
|
@ -459,7 +459,7 @@ func (s *Service) login(conn *connWrapper) error {
|
||||||
return errors.New("no eth protocol available")
|
return errors.New("no eth protocol available")
|
||||||
}
|
}
|
||||||
auth := &authMsg{
|
auth := &authMsg{
|
||||||
Id: s.node,
|
ID: s.node,
|
||||||
Info: nodeInfo{
|
Info: nodeInfo{
|
||||||
Name: s.node,
|
Name: s.node,
|
||||||
Node: infos.Name,
|
Node: infos.Name,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue