mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
accounts/abi/bind/backends: fail if transaction is not send
This commit is contained in:
parent
6ff924abf5
commit
b608a39b2f
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ func TestForkResendTx(t *testing.T) {
|
||||||
// 5.
|
// 5.
|
||||||
sim.Commit()
|
sim.Commit()
|
||||||
if err := sim.SendTransaction(context.Background(), tx); err != nil {
|
if err := sim.SendTransaction(context.Background(), tx); err != nil {
|
||||||
t.Errorf("sending transaction: %v", err)
|
t.Fatalf("sending transaction: %v", err)
|
||||||
}
|
}
|
||||||
sim.Commit()
|
sim.Commit()
|
||||||
receipt, _ = sim.TransactionReceipt(context.Background(), tx.Hash())
|
receipt, _ = sim.TransactionReceipt(context.Background(), tx.Hash())
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue