Skip to content

Commit

Permalink
feat: lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
fearlessfe authored and GrapeBaBa committed Oct 18, 2024
1 parent 8baf517 commit 86c1b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion portalnetwork/history/history_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ func validateBlockBody(body *types.Body, header *types.Header) error {

// EncodeBlockBody encode types.Body to ssz bytes
func EncodeBlockBody(body *types.Body) ([]byte, error) {
if body.Withdrawals != nil && len(body.Withdrawals) > 0 {
if len(body.Withdrawals) > 0 {
blockShanghai, err := toPortalBlockBodyShanghai(body)
if err != nil {
return nil, err
Expand Down

0 comments on commit 86c1b7d

Please sign in to comment.