mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
Update beacon/blsync/block_sync.go
Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
This commit is contained in:
parent
fdfffbb3b2
commit
22e075ff80
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ func (s *beaconBlockSync) updateEventFeed() {
|
||||||
parent, ok := s.recentBlocks.Get(head.Header.ParentRoot)
|
parent, ok := s.recentBlocks.Get(head.Header.ParentRoot)
|
||||||
if !ok || parent.Slot()/params.EpochLength == fe {
|
if !ok || parent.Slot()/params.EpochLength == fe {
|
||||||
return // head is at first slot of next epoch, wait for finality update
|
return // head is at first slot of next epoch, wait for finality update
|
||||||
//TODO trt to fetch finality update directly if subscription does not deliver
|
//TODO: try to fetch finality update directly if subscription does not deliver
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue