Skip to content

Commit

Permalink
Update api/server/structs/conversions.go
Browse files Browse the repository at this point in the history
  • Loading branch information
rkapka authored Feb 5, 2025
1 parent 6cb6d64 commit 246e07a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/server/structs/conversions.go
Original file line number Diff line number Diff line change
Expand Up @@ -1286,7 +1286,7 @@ func AttesterSlashingFromConsensus(src *eth.AttesterSlashing) *AttesterSlashing

func AttesterSlashingsElectraToConsensus(src []*AttesterSlashingElectra) ([]*eth.AttesterSlashingElectra, error) {
if src == nil {
return nil, server.NewDecodeError(errNilValue, "AttesterSlashinElectras")
return nil, server.NewDecodeError(errNilValue, "AttesterSlashingsElectra")
}
err := slice.VerifyMaxLength(src, fieldparams.MaxAttesterSlashingsElectra)
if err != nil {
Expand Down

0 comments on commit 246e07a

Please sign in to comment.