mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-02 10:03:45 +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
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue