Skip to content

Commit

Permalink
ethstats: Fix ethstats reporting while syncing
Browse files Browse the repository at this point in the history
  • Loading branch information
Magicking authored and mariameda committed Aug 19, 2018
1 parent 4f9dca5 commit 4f920a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ethstats/ethstats.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4f920a5

Please sign in to comment.