mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 19:00:46 +00:00
omit ethstats weird warning msg
This commit is contained in:
parent
3f716137db
commit
c15a26c57c
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