未验证 提交 81ad8f66 编写于 作者: P Péter Szilágyi 提交者: GitHub

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

ethstats: Fix ethstats reporting while syncing
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册