mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
address review feedback
This commit is contained in:
parent
30d82125cb
commit
47633766c0
1 changed files with 1 additions and 2 deletions
|
|
@ -373,8 +373,7 @@ func (beacon *Beacon) FinalizeAndAssemble(ctx context.Context, chain consensus.C
|
|||
}
|
||||
} else {
|
||||
if len(body.Withdrawals) > 0 {
|
||||
err = errors.New("withdrawals set before Shanghai activation")
|
||||
return nil, err
|
||||
return nil, errors.New("withdrawals set before Shanghai activation")
|
||||
}
|
||||
}
|
||||
// Finalize and assemble the block.
|
||||
|
|
|
|||
Loading…
Reference in a new issue