From 70333f1c1c4534ee9f73ccd5d7c78c1767cf9b36 Mon Sep 17 00:00:00 2001 From: Magicking Date: Fri, 12 Jan 2018 17:01:41 +0100 Subject: [PATCH] Fix ethstats reporting while syncing --- ethstats/ethstats.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ethstats/ethstats.go b/ethstats/ethstats.go index 7065d71629..3d370bfdc6 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 {