mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-17 18:30:45 +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 {
|
} else {
|
||||||
if len(body.Withdrawals) > 0 {
|
if len(body.Withdrawals) > 0 {
|
||||||
err = errors.New("withdrawals set before Shanghai activation")
|
return nil, errors.New("withdrawals set before Shanghai activation")
|
||||||
return nil, err
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Finalize and assemble the block.
|
// Finalize and assemble the block.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue