diff --git a/x/cronos/client/cli/tx.go b/x/cronos/client/cli/tx.go index e43ccfd16d..af3bf56c60 100644 --- a/x/cronos/client/cli/tx.go +++ b/x/cronos/client/cli/tx.go @@ -416,8 +416,7 @@ func Migrate(appState genutiltypes.AppMap, clientCtx client.Context) genutiltype if appState[icatypes.ModuleName] == nil { appState[icatypes.ModuleName] = clientCtx.Codec.MustMarshalJSON(icagenesistypes.DefaultGenesis()) } - - // Add icaauthtypes with default genesis. + // Add icaauth with default genesis. if appState[icaauthtypes.ModuleName] == nil { appState[icaauthtypes.ModuleName] = clientCtx.Codec.MustMarshalJSON(icaauthtypes.DefaultGenesis()) } diff --git a/x/icaauth/keeper/keeper.go b/x/icaauth/keeper/keeper.go index 6b8a2db308..05f4caa5b5 100644 --- a/x/icaauth/keeper/keeper.go +++ b/x/icaauth/keeper/keeper.go @@ -79,7 +79,7 @@ func (k *Keeper) DoSubmitTx(ctx sdk.Context, connectionID, owner string, msgs [] // timeoutDuration should be constraited by MinTimeoutDuration parameter. timeoutTimestamp := ctx.BlockTime().Add(timeoutDuration).UnixNano() - _, err = k.icaControllerKeeper.SendTx(ctx, channelCapability, connectionID, portID, packetData, uint64(timeoutTimestamp)) + _, err = k.icaControllerKeeper.SendTx(ctx, channelCapability, connectionID, portID, packetData, uint64(timeoutTimestamp)) //nolint:staticcheck if err != nil { return err }