Skip to content

Commit

Permalink
refactor: Update variable name in beacon block deriver
Browse files Browse the repository at this point in the history
  • Loading branch information
samcm committed Sep 26, 2023
1 parent c1f0a0b commit 4fab8b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cannon/deriver/beacon/eth/v2/beacon_block.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func (b *BeaconBlockDeriver) lookAheadAtLocation(ctx context.Context, locations

for _, location := range locations {
// Get the next look ahead epoch
epoch := phase0.Epoch(location.GetEthV2BeaconBlockVoluntaryExit().GetEpoch())
epoch := phase0.Epoch(location.GetEthV2BeaconBlock().GetEpoch())

sp, err := b.beacon.Node().Spec()
if err != nil {
Expand Down

0 comments on commit 4fab8b7

Please sign in to comment.