ethstats: Fix ethstats reporting while syncing

pull/15869/head
Magicking 7 years ago
parent c786f75389
commit 90e5744d6f
No known key found for this signature in database
GPG Key ID: 20A81F25ECAFA6AA
  1. 1
      ethstats/ethstats.go

@ -613,6 +613,7 @@ func (s *Service) reportHistory(conn *websocket.Conn, list []uint64) error {
}
// Ran out of blocks, cut the report short and send
history = history[len(history)-i:]
break
}
// Assemble the history report and send it to the server
if len(history) > 0 {

Loading…
Cancel
Save