Skip to content

Commit

Permalink
chore: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
samcm committed Jan 10, 2024
1 parent 25177eb commit bf0a0b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cannon/deriver/beacon/eth/v2/elaborated_attestation.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ func (b *ElaboratedAttestationDeriver) createEventFromElaboratedAttestation(ctx
}

attestationSlot := b.beacon.Metadata().Wallclock().Slots().FromNumber(attestation.Data.Slot.Value)
epoch := b.beacon.Metadata().Wallclock().Epochs().FromSlot(uint64(attestationSlot.Number()))
epoch := b.beacon.Metadata().Wallclock().Epochs().FromSlot(attestationSlot.Number())

// Build out the target section
targetEpoch := b.beacon.Metadata().Wallclock().Epochs().FromNumber(attestation.Data.Target.Epoch.GetValue())
Expand Down

0 comments on commit bf0a0b7

Please sign in to comment.