mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-20 13:44:31 +00:00
accounts/abi/bind/backends: remove unused assignment (#20359)
This commit is contained in:
parent
3a320d2c6f
commit
575a5cb2e2
1 changed files with 1 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue