Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
faddat committed Sep 17, 2023
1 parent 07d3988 commit 466cf70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.21
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.52.0
version: v1.54.2
args: --timeout=10m
4 changes: 2 additions & 2 deletions x/inter-tx/ibc_module.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func (im IBCModule) OnAcknowledgementPacket(
return nil
default:
for _, msgData := range txMsgData.Data {
response, err := handleMsgData(ctx, msgData)
response, err := handleMsgData(msgData)
if err != nil {
return err
}
Expand All @@ -152,7 +152,7 @@ func (IBCModule) OnTimeoutPacket(
return nil
}

func handleMsgData(ctx sdk.Context, msgData *sdk.MsgData) (string, error) { //nolint:staticcheck // SA1019: sdk.MsgData is deprecated: Do not use.
func handleMsgData(msgData *sdk.MsgData) (string, error) { //nolint:staticcheck // SA1019: sdk.MsgData is deprecated: Do not use.
switch msgData.MsgType {
case sdk.MsgTypeURL(&banktypes.MsgSend{}):
msgResponse := &banktypes.MsgSendResponse{}
Expand Down

0 comments on commit 466cf70

Please sign in to comment.