Skip to content

Commit

Permalink
Merge branch 'master' into milad/nft-class-freeze
Browse files Browse the repository at this point in the history
  • Loading branch information
miladz68 authored Oct 19, 2023
2 parents 0bf0cbc + 360b1dc commit 937d94f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cmd/cored/cosmoscmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (
"github.com/cosmos/cosmos-sdk/client/pruning"
"github.com/cosmos/cosmos-sdk/client/rpc"
"github.com/cosmos/cosmos-sdk/client/snapshot"
"github.com/cosmos/cosmos-sdk/crypto/keyring"
"github.com/cosmos/cosmos-sdk/server"
serverconfig "github.com/cosmos/cosmos-sdk/server/config"
servertypes "github.com/cosmos/cosmos-sdk/server/types"
Expand All @@ -39,6 +40,8 @@ import (
"github.com/CoreumFoundation/coreum/v3/pkg/config"
)

const ledgerAppName = "Coreum"

// NewRootCmd creates a new root command for simd. It is called once in the
// main function.
func NewRootCmd() *cobra.Command {
Expand All @@ -52,7 +55,10 @@ func NewRootCmd() *cobra.Command {
WithInput(os.Stdin).
WithAccountRetriever(types.AccountRetriever{}).
WithHomeDir(app.DefaultNodeHome).
WithViper("")
WithViper("").
WithKeyringOptions(func(options *keyring.Options) {
options.LedgerAppName = ledgerAppName
})

rootCmd := &cobra.Command{
Use: app.Name + "d",
Expand Down

0 comments on commit 937d94f

Please sign in to comment.