From d79e0290c1466d5fe7044466d956339f186872bf Mon Sep 17 00:00:00 2001 From: Bryan White Date: Wed, 6 Sep 2023 11:14:38 +0200 Subject: [PATCH] fix: typo in comment Replaces "config.toml" with "client.toml" to avoid confusion between this and the cometbft config ("config.toml"); see: [server/main/util.go:236](https://github.com/cosmos/cosmos-sdk/blob/main/server/util.go#L236). --- client/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/config/config.go b/client/config/config.go index 35f4b10b2dd7..5b9f0340ec5f 100644 --- a/client/config/config.go +++ b/client/config/config.go @@ -46,7 +46,7 @@ func CreateClientConfig(ctx client.Context, customClientTemplate string, customC configPath := filepath.Join(ctx.HomeDir, "config") configFilePath := filepath.Join(configPath, "client.toml") - // when config.toml does not exist create and init with default values + // when client.toml does not exist create and init with default values if _, err := os.Stat(configFilePath); os.IsNotExist(err) { if err := os.MkdirAll(configPath, os.ModePerm); err != nil { return ctx, fmt.Errorf("couldn't make client config: %w", err)