Skip to content

Commit

Permalink
Merge pull request ethereum#15869 from Magicking/ethstats-reporting-fix
Browse files Browse the repository at this point in the history
ethstats: Fix ethstats reporting while syncing
  • Loading branch information
karalabe committed Jan 15, 2018
2 parents 3f40b22 + 90e5744 commit 81ad8f6
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 81ad8f6

Please sign in to comment.