Skip to content

Commit

Permalink
Merge branch 'main' of ssh://github.com/berachain/beacon-kit
Browse files Browse the repository at this point in the history
  • Loading branch information
itsdevbear committed May 22, 2024
2 parents eece62e + 327ef05 commit e2d1303
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mod/execution/pkg/engine/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ func (ee *Engine[
) (*engineprimitives.PayloadID, *common.ExecutionHash, error) {
// Log the forkchoice update attempt.
ee.metrics.MarkNotifyForkchoiceUpdateCalled(
req.State, !req.PayloadAttributes.IsNil(),
req.State,
req.PayloadAttributes != nil &&
!req.PayloadAttributes.IsNil(),
)

// Notify the execution engine of the forkchoice update.
Expand Down

0 comments on commit e2d1303

Please sign in to comment.