Skip to content

Commit

Permalink
fix error message for electra
Browse files Browse the repository at this point in the history
  • Loading branch information
skylenet authored Feb 17, 2025
1 parent da982dd commit 57d7302
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 57d7302

Please sign in to comment.