Skip to content

Commit

Permalink
Fix: fix default home dir for client.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
dudong2 committed Jul 10, 2024
1 parent f75ccb3 commit ca83081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cantod/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) {
)

autoCliOpts := tempApp.AutoCliOpts()
initClientCtx, _ = config.ReadFromClientConfig(initClientCtx)
initClientCtx, _ = config.ReadDefaultValuesFromDefaultClientConfig(initClientCtx)
autoCliOpts.Keyring, _ = keyring.NewAutoCLIKeyring(initClientCtx.Keyring)
autoCliOpts.ClientCtx = initClientCtx

Expand Down

0 comments on commit ca83081

Please sign in to comment.