mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
beacon/blsync: fixed linter warning
This commit is contained in:
parent
9de80ca574
commit
fdfffbb3b2
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ func (s *beaconBlockSync) updateEventFeed() {
|
|||
case he < fe:
|
||||
return
|
||||
case he == fe+1:
|
||||
parent, ok := s.recentBlocks.Get(head.Header.ParentRoot)
|
||||
parent, ok := s.recentBlocks.Get(head.Header.ParentRoot)
|
||||
if !ok || parent.Slot()/params.EpochLength == fe {
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue