Skip to content

Commit

Permalink
migrate test to use new testing api
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisPH3 committed Nov 20, 2024
1 parent 3aa5bf0 commit f283171
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/gas_price_suggestion_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ func TestGasPrice_UnderpricedTransactionsAreRejected(t *testing.T) {
chainId, err := client.ChainID(context.Background())
require.NoError(err, "failed to get chain ID::")

nonce, err := client.NonceAt(context.Background(), net.validator.Address(), nil)
nonce, err := client.NonceAt(context.Background(), net.Validator.Address(), nil)
require.NoError(err, "failed to get nonce:")

factory := &txFactory{
senderKey: net.validator.PrivateKey,
senderKey: net.Validator.PrivateKey,
chainId: chainId,
}

Expand Down

0 comments on commit f283171

Please sign in to comment.