diff --git a/tests/gas_price_suggestion_test.go b/tests/gas_price_suggestion_test.go index bc5fc5539..531bbbc85 100644 --- a/tests/gas_price_suggestion_test.go +++ b/tests/gas_price_suggestion_test.go @@ -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, }