Skip to content

Commit

Permalink
accounts/abi/bind/backends: remove unused assignment (ethereum#20359)
Browse files Browse the repository at this point in the history
  • Loading branch information
gzliudan committed Jan 14, 2025
1 parent 59769f7 commit 1776c29
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions accounts/abi/bind/backends/simulated_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1776c29

Please sign in to comment.