From 90e5744d6f54a11b0727ab7583158ab7d72302fd Mon Sep 17 00:00:00 2001 From: Magicking Date: Fri, 12 Jan 2018 17:01:41 +0100 Subject: ethstats: Fix ethstats reporting while syncing --- ethstats/ethstats.go | 1 + 1 file changed, 1 insertion(+) (limited to 'ethstats/ethstats.go') diff --git a/ethstats/ethstats.go b/ethstats/ethstats.go index 7065d7162..3d370bfdc 100644 --- a/ethstats/ethstats.go +++ b/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 { -- cgit v1.2.3