Skip to content

Commit

Permalink
Update PbV3 version check
Browse files Browse the repository at this point in the history
  • Loading branch information
terencechain committed May 13, 2024
1 parent 8b3001e commit 8d103b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus-types/payload-attribute/getters.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (a *data) PbV3() (*enginev1.PayloadAttributesV3, error) {
if a == nil {
return nil, errNilPayloadAttribute
}
if a.version != version.Deneb {
if a.version < version.Deneb {
return nil, consensus_types.ErrNotSupported("PbV3", a.version)
}
if a.timeStamp == 0 && len(a.prevRandao) == 0 && len(a.parentBeaconBlockRoot) == 0 {
Expand Down

0 comments on commit 8d103b7

Please sign in to comment.