diff options
author | Péter Szilágyi <peterke@gmail.com> | 2018-01-15 16:36:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-15 16:36:43 +0800 |
commit | 81ad8f665d3e7598273958d557c531f800eca50f (patch) | |
tree | 905179d7f8843910a40d16caad10bb0f444ca4a1 | |
parent | 3f40b22dac9cb36fdf2baacf4789a52adbb611fd (diff) | |
parent | 90e5744d6f54a11b0727ab7583158ab7d72302fd (diff) | |
download | go-tangerine-81ad8f665d3e7598273958d557c531f800eca50f.tar go-tangerine-81ad8f665d3e7598273958d557c531f800eca50f.tar.gz go-tangerine-81ad8f665d3e7598273958d557c531f800eca50f.tar.bz2 go-tangerine-81ad8f665d3e7598273958d557c531f800eca50f.tar.lz go-tangerine-81ad8f665d3e7598273958d557c531f800eca50f.tar.xz go-tangerine-81ad8f665d3e7598273958d557c531f800eca50f.tar.zst go-tangerine-81ad8f665d3e7598273958d557c531f800eca50f.zip |
Merge pull request #15869 from Magicking/ethstats-reporting-fix
ethstats: Fix ethstats reporting while syncing
-rw-r--r-- | ethstats/ethstats.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ethstats/ethstats.go b/ethstats/ethstats.go index 8204750be..ae7e25265 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 { |