From fdfffbb3b2bfce2bb5c2ae07479898e83c308a1a Mon Sep 17 00:00:00 2001 From: Zsolt Felfoldi Date: Fri, 5 Apr 2024 11:59:26 +0200 Subject: [PATCH] beacon/blsync: fixed linter warning --- beacon/blsync/block_sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon/blsync/block_sync.go b/beacon/blsync/block_sync.go index 64053c92f4..23c3169fe0 100755 --- a/beacon/blsync/block_sync.go +++ b/beacon/blsync/block_sync.go @@ -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