mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-17 18:30:45 +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()
|
sim.Commit()
|
||||||
tx, isPending, err = sim.TransactionByHash(context.Background(), txHash)
|
_, isPending, err = sim.TransactionByHash(context.Background(), txHash)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("error getting transaction with hash: %v", txHash.String())
|
t.Fatalf("error getting transaction with hash: %v", txHash.String())
|
||||||
}
|
}
|
||||||
if isPending {
|
if isPending {
|
||||||
t.Fatal("transaction should not have pending status")
|
t.Fatal("transaction should not have pending status")
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestSimulatedBackend_EstimateGas(t *testing.T) {
|
func TestSimulatedBackend_EstimateGas(t *testing.T) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue