From d5e83de810433b42e7c948120f37d3fb67e909e1 Mon Sep 17 00:00:00 2001 From: lightclient Date: Fri, 29 Sep 2023 16:21:21 -0600 Subject: [PATCH] eth/catalyst: simplify var in test --- eth/catalyst/api_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/eth/catalyst/api_test.go b/eth/catalyst/api_test.go index 8ebc4bedfa..814ad4a7fe 100644 --- a/eth/catalyst/api_test.go +++ b/eth/catalyst/api_test.go @@ -1267,9 +1267,7 @@ func TestNilWithdrawals(t *testing.T) { if err != nil { t.Fatalf("error getting payload, err=%v", err) } - var ( - status engine.PayloadStatusV1 - ) + var status engine.PayloadStatusV1 if !shanghai { status, err = api.NewPayloadV1(*execData.ExecutionPayload) } else {