Skip to content

Commit e74cb90

Browse files
committed
fix: Linter error
1 parent d6941c5 commit e74cb90

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎pkg/client/tx/client_test.go‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ func TestTxClient_SignAndBroadcast_SyncError(t *testing.T) {
269269
// NB: explicitly omitting required fields
270270
}
271271

272-
eitherErr := txClient.SignAndBroadcast(ctx, gasLimit, gasPrice, appStakeMsg)
272+
eitherErr := txClient.SignAndBroadcast(ctx, txGasLimit, txGasPrice, appStakeMsg)
273273
err, _ = eitherErr.SyncOrAsyncError()
274274
require.ErrorIs(t, err, tx.ErrInvalidMsg)
275275

@@ -347,7 +347,7 @@ $ go test -v -count=1 -run TestTxClient_SignAndBroadcast_CheckTxError ./pkg/clie
347347
}
348348

349349
// Sign and broadcast the message.
350-
eitherErr := txClient.SignAndBroadcast(ctx, gasLimit, gasPrice, appStakeMsg)
350+
eitherErr := txClient.SignAndBroadcast(ctx, txGasLimit, txGasPrice, appStakeMsg)
351351
err, _ = eitherErr.SyncOrAsyncError()
352352
require.ErrorIs(t, err, tx.ErrCheckTx)
353353
require.ErrorContains(t, err, expectedErrMsg)
@@ -419,7 +419,7 @@ func TestTxClient_SignAndBroadcast_Timeout(t *testing.T) {
419419
}
420420

421421
// Sign and broadcast the message in a transaction.
422-
eitherErr := txClient.SignAndBroadcast(ctx, gasLimit, gasPrice, appStakeMsg)
422+
eitherErr := txClient.SignAndBroadcast(ctx, txGasLimit, txGasPrice, appStakeMsg)
423423
err, errCh := eitherErr.SyncOrAsyncError()
424424
require.NoError(t, err)
425425

0 commit comments

Comments
 (0)