Skip to content

Commit

Permalink
Merge pull request #208 from skylenet/patch-1
Browse files Browse the repository at this point in the history
fix error message for electra
  • Loading branch information
mcdee authored Feb 17, 2025
2 parents 029404e + 57d7302 commit 9480cba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/versionedsignedbeaconblock.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func (v *VersionedSignedBeaconBlock) ExecutionBlockHash() (phase0.Hash32, error)
v.Electra.Message == nil ||
v.Electra.Message.Body == nil ||
v.Electra.Message.Body.ExecutionPayload == nil {
return phase0.Hash32{}, errors.New("no deneb block")
return phase0.Hash32{}, errors.New("no electra block")
}

return v.Electra.Message.Body.ExecutionPayload.BlockHash, nil
Expand Down

0 comments on commit 9480cba

Please sign in to comment.