From bbd16afab6ace818d02fbec8e16ccb5da2acd940 Mon Sep 17 00:00:00 2001 From: fuyangpengqi <167312867+fuyangpengqi@users.noreply.github.com> Date: Thu, 18 Apr 2024 21:40:08 +0800 Subject: [PATCH] chore: fix function names in comment (#20086) Signed-off-by: fuyangpengqi <995764973@qq.com> Co-authored-by: samricotta <37125168+samricotta@users.noreply.github.com> --- client/v2/autocli/query_test.go | 2 +- crypto/keyring/migration_test.go | 2 +- simapp/simd/cmd/config.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/v2/autocli/query_test.go b/client/v2/autocli/query_test.go index 07d6354928..6652bc6441 100644 --- a/client/v2/autocli/query_test.go +++ b/client/v2/autocli/query_test.go @@ -339,7 +339,7 @@ func TestMap(t *testing.T) { assert.ErrorContains(t, err, "invalid argument \"bar=123.9\" for \"--map-string-uint32\" flag: strconv.ParseUint: parsing \"123.9\": invalid syntax") } -// TestEveything tests all the different types of flags are correctly read and as well as correctly returned +// TestEverything tests all the different types of flags are correctly read and as well as correctly returned // This tests the flag binding and the message building func TestEverything(t *testing.T) { fixture := initFixture(t) diff --git a/crypto/keyring/migration_test.go b/crypto/keyring/migration_test.go index a8ddee925a..0b983660b8 100644 --- a/crypto/keyring/migration_test.go +++ b/crypto/keyring/migration_test.go @@ -246,7 +246,7 @@ func newLegacyLocalInfo(name string, pub cryptotypes.PubKey, privArmor string, a } } -// newLegacyOfflineInfo creates a new legacyLedgerInfo instance +// newLegacyLedgerInfo creates a new legacyLedgerInfo instance func newLegacyLedgerInfo(name string, pub cryptotypes.PubKey, path hd.BIP44Params, algo hd.PubKeyType) LegacyInfo { return &legacyLedgerInfo{ Name: name, diff --git a/simapp/simd/cmd/config.go b/simapp/simd/cmd/config.go index cda73a922d..ce6698e255 100644 --- a/simapp/simd/cmd/config.go +++ b/simapp/simd/cmd/config.go @@ -25,7 +25,7 @@ func initCometBFTConfig() *cmtcfg.Config { return cfg } -// initAppConfig helps to override default client config template and configs. +// initClientConfig helps to override default client config template and configs. // return "", nil if no custom configuration is required for the application. func initClientConfig() (string, interface{}) { type GasConfig struct {