Skip to content

Commit

Permalink
Merge pull request #66 from b-harvest/patch/configclient
Browse files Browse the repository at this point in the history
Fix: fix default home dir for client.toml
  • Loading branch information
dudong2 authored Jul 11, 2024
2 parents 0a7aad4 + ca83081 commit fe4c431
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 fe4c431

Please sign in to comment.