mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
omit ethstats weird warning msg
This commit is contained in:
parent
4e71b9bf81
commit
de1b868010
1 changed files with 1 additions and 1 deletions
|
|
@ -315,7 +315,7 @@ func (s *Service) readLoop(conn *websocket.Conn) {
|
||||||
// Make sure the request is valid and doesn't crash us
|
// Make sure the request is valid and doesn't crash us
|
||||||
request, ok := msg["emit"][1].(map[string]interface{})
|
request, ok := msg["emit"][1].(map[string]interface{})
|
||||||
if !ok {
|
if !ok {
|
||||||
log.Warn("Invalid stats history request", "msg", msg["emit"][1])
|
log.Debug("Invalid stats history request", "msg", msg["emit"][1])
|
||||||
s.histCh <- nil
|
s.histCh <- nil
|
||||||
continue // Ethstats sometime sends invalid history requests, ignore those
|
continue // Ethstats sometime sends invalid history requests, ignore those
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue