Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
Signed-off-by: nidhi-singh02 <[email protected]>
  • Loading branch information
nidhi-singh02 committed Dec 11, 2024
1 parent 514f98e commit 1b68882
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions beacon/blockchain/execution_engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ import (
engineprimitives "github.com/berachain/beacon-kit/engine-primitives/engine-primitives"
)

// sendPostBlockFCU sends a forkchoice update to the execution client.
// sendPostBlockFCU sends a forkchoice update to the execution client after a
// block is finalized. Few pointers to note here:
// Optimistic clients already request builds in handleOptimisticPayloadBuild()
// Non-optimistic clients should never request optimistic builds.
func (s *Service[
_, ConsensusBlockT, _, _, _, BeaconStateT, _, _, _, _, _,
]) sendPostBlockFCU(
Expand All @@ -43,7 +46,6 @@ func (s *Service[
return
}

// Non-optimistic client does not need optimistic build.
if s.shouldBuildOptimisticPayloads() {
s.sendNextFCUWithoutAttributes(ctx, blk, lph)
}
Expand Down

0 comments on commit 1b68882

Please sign in to comment.