mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-01 20:48:38 +00:00
fix: test
This commit is contained in:
parent
f66b10f1fd
commit
3250556eb9
1 changed files with 1 additions and 1 deletions
|
|
@ -4099,7 +4099,7 @@ func TestGetTransactionBySenderAndNonce(t *testing.T) {
|
||||||
api := NewTransactionAPI(backend, new(AddrLocker))
|
api := NewTransactionAPI(backend, new(AddrLocker))
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
|
|
||||||
result, err := api.GetTransactionBySenderAndNonce(ctx, addr, nonce)
|
result, err := api.GetTransactionBySenderAndNonce(ctx, addr, hexutil.Uint64(nonce))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("GetTransactionBySenderAndNonce failed: %v", err)
|
t.Fatalf("GetTransactionBySenderAndNonce failed: %v", err)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue