mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
Merge 70333f1c1c into 3f40b22dac
This commit is contained in:
commit
3b5d6bb8b2
1 changed files with 1 additions and 0 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue