From ebc1657fe415c8636b9aa489f2adf39aed5d89d0 Mon Sep 17 00:00:00 2001 From: Khanh Hoa Date: Wed, 12 Jun 2024 16:47:03 +0700 Subject: [PATCH] fix lint --- app/app.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/app.go b/app/app.go index 391747a8..a99fe948 100644 --- a/app/app.go +++ b/app/app.go @@ -2,12 +2,13 @@ package app import ( "fmt" - sigtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - txmodule "github.com/cosmos/cosmos-sdk/x/auth/tx/config" "io" "os" "path/filepath" + sigtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" + txmodule "github.com/cosmos/cosmos-sdk/x/auth/tx/config" + "cosmossdk.io/client/v2/autocli" "cosmossdk.io/core/appmodule" @@ -333,9 +334,8 @@ func NewComposableApp( ) // optional: enable sign mode textual by overwriting the default tx config (after setting the bank keeper) - enabledSignModes := append(authtx.DefaultSignModes, sigtypes.SignMode_SIGN_MODE_TEXTUAL) txConfigOpts := authtx.ConfigOptions{ - EnabledSignModes: enabledSignModes, + EnabledSignModes: append(authtx.DefaultSignModes, sigtypes.SignMode_SIGN_MODE_TEXTUAL), TextualCoinMetadataQueryFn: txmodule.NewBankKeeperCoinMetadataQueryFn(app.BankKeeper), } txConfig, err = authtx.NewTxConfigWithOptions(