mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-15 16:33:47 +00:00
feat: lint error
This commit is contained in:
parent
8baf51752b
commit
86c1b7d12e
1 changed files with 1 additions and 1 deletions
|
|
@ -303,7 +303,7 @@ func validateBlockBody(body *types.Body, header *types.Header) error {
|
||||||
|
|
||||||
// EncodeBlockBody encode types.Body to ssz bytes
|
// EncodeBlockBody encode types.Body to ssz bytes
|
||||||
func EncodeBlockBody(body *types.Body) ([]byte, error) {
|
func EncodeBlockBody(body *types.Body) ([]byte, error) {
|
||||||
if body.Withdrawals != nil && len(body.Withdrawals) > 0 {
|
if len(body.Withdrawals) > 0 {
|
||||||
blockShanghai, err := toPortalBlockBodyShanghai(body)
|
blockShanghai, err := toPortalBlockBodyShanghai(body)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue