accounts/abi/bind/backends: remove unused assignment (#20359)

This commit is contained in:
Daniel Liu 2025-01-14 10:56:10 +08:00
parent 3a320d2c6f
commit 575a5cb2e2

View file

@ -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) {