diff --git a/accounts/abi/bind/backends/simulated_test.go b/accounts/abi/bind/backends/simulated_test.go index 7e0a68c08..785b25d10 100644 --- a/accounts/abi/bind/backends/simulated_test.go +++ b/accounts/abi/bind/backends/simulated_test.go @@ -72,7 +72,7 @@ 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()) }