From d0fb295b3a40a7c608735828b9fe61d11545cf12 Mon Sep 17 00:00:00 2001 From: filip Date: Thu, 22 Feb 2024 21:28:14 +0100 Subject: [PATCH] Fix lint --- txpool/txpool_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/txpool/txpool_test.go b/txpool/txpool_test.go index 59d19637fd..1f84f12734 100644 --- a/txpool/txpool_test.go +++ b/txpool/txpool_test.go @@ -131,10 +131,8 @@ func TestAddTxErrors(t *testing.T) { signTx := func(transaction *types.Transaction) *types.Transaction { transaction.SetChainID(big.NewInt(0)) - var signedTx *types.Transaction - var signErr error + signedTx, signErr := poolSigner.SignTx(transaction, defaultKey) - signedTx, signErr = poolSigner.SignTx(transaction, defaultKey) if signErr != nil { t.Fatalf("Unable to sign transaction, %v", signErr) }