From 2ef94666c3609b6171139a257d99b9310bf92090 Mon Sep 17 00:00:00 2001 From: Daniel Liu Date: Tue, 14 Jan 2025 10:56:10 +0800 Subject: [PATCH] accounts/abi/bind/backends: remove unused assignment (#20359) --- accounts/abi/bind/backends/simulated_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/accounts/abi/bind/backends/simulated_test.go b/accounts/abi/bind/backends/simulated_test.go index 16728b0996e9..5ff57db4c612 100644 --- a/accounts/abi/bind/backends/simulated_test.go +++ b/accounts/abi/bind/backends/simulated_test.go @@ -75,14 +75,13 @@ func TestSimulatedBackend(t *testing.T) { } sim.Commit() - tx, isPending, err = sim.TransactionByHash(context.Background(), txHash) + _, isPending, err = sim.TransactionByHash(context.Background(), txHash) if err != nil { t.Fatalf("error getting transaction with hash: %v", txHash.String()) } if isPending { t.Fatal("transaction should not have pending status") } - } func TestSimulatedBackend_EstimateGas(t *testing.T) {