good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 81ad8f66 authored by Péter Szilágyi's avatar Péter Szilágyi Committed by GitHub
Browse files

Merge pull request #15869 from Magicking/ethstats-reporting-fix

ethstats: Fix ethstats reporting while syncing
parents 3f40b22d 90e5744d
No related branches found
No related tags found
No related merge requests found
...@@ -613,6 +613,7 @@ func (s *Service) reportHistory(conn *websocket.Conn, list []uint64) error { ...@@ -613,6 +613,7 @@ func (s *Service) reportHistory(conn *websocket.Conn, list []uint64) error {
} }
// Ran out of blocks, cut the report short and send // Ran out of blocks, cut the report short and send
history = history[len(history)-i:] history = history[len(history)-i:]
break
} }
// Assemble the history report and send it to the server // Assemble the history report and send it to the server
if len(history) > 0 { if len(history) > 0 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment