Skip to content

Commit 90e5744

Browse files
committed
ethstats: Fix ethstats reporting while syncing
1 parent c786f75 commit 90e5744

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎ethstats/ethstats.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,7 @@ func (s *Service) reportHistory(conn *websocket.Conn, list []uint64) error {
613613
}
614614
// Ran out of blocks, cut the report short and send
615615
history = history[len(history)-i:]
616+
break
616617
}
617618
// Assemble the history report and send it to the server
618619
if len(history) > 0 {

0 commit comments

Comments
 (0)