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 committed Jan 12, 2018
1 parent c786f75 commit 90e5744
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 90e5744

Please sign in to comment.