From a504fa6e2fb7245848493f4eeb60bc7d780f5fc5 Mon Sep 17 00:00:00 2001 From: Anshal Shukla Date: Fri, 20 Oct 2023 23:09:00 +0530 Subject: [PATCH] fix tests --- eth/protocols/eth/handler_test.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/eth/protocols/eth/handler_test.go b/eth/protocols/eth/handler_test.go index d1a252b7cf..c001ec07ce 100644 --- a/eth/protocols/eth/handler_test.go +++ b/eth/protocols/eth/handler_test.go @@ -367,11 +367,7 @@ func TestGetBlockBodies68(t *testing.T) { func testGetBlockBodies(t *testing.T, protocol uint) { gen := func(n int, g *core.BlockGen) { if n%2 == 0 { - w := &types.Withdrawal{ - Address: common.Address{0xaa}, - Amount: 42, - } - g.AddWithdrawal(w) + g.AddWithdrawal(&types.Withdrawal{}) } }