mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 19:40:37 +00:00
use proper bound (#4607)
This commit is contained in:
parent
a52f9d4549
commit
e96c2f4949
@ -434,7 +434,7 @@ func (s *Service) checkHeaderRange(start uint64, end uint64,
|
||||
if !s.chainStartData.Chainstarted {
|
||||
h, ok := headersMap[i]
|
||||
if !ok {
|
||||
if err := requestHeaders(i, i+eth1HeaderReqLimit); err != nil {
|
||||
if err := requestHeaders(i, end); err != nil {
|
||||
return err
|
||||
}
|
||||
// Retry this block.
|
||||
|
Loading…
Reference in New Issue
Block a user