From 47633766c0bf7082f2c0282a5845d684d3d60b99 Mon Sep 17 00:00:00 2001 From: jonny rhea <5555162+jrhea@users.noreply.github.com> Date: Wed, 4 Mar 2026 13:16:29 -0600 Subject: [PATCH] address review feedback --- consensus/beacon/consensus.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/consensus/beacon/consensus.go b/consensus/beacon/consensus.go index 73b169a1f9..25f4f9d2b2 100644 --- a/consensus/beacon/consensus.go +++ b/consensus/beacon/consensus.go @@ -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.