chore: fix function names in comment (#20086)

Signed-off-by: fuyangpengqi <995764973@qq.com>
Co-authored-by: samricotta <37125168+samricotta@users.noreply.github.com>
This commit is contained in:
fuyangpengqi 2024-04-18 21:40:08 +08:00 committed by GitHub
parent 55c14edf0c
commit bbd16afab6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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,

View File

@ -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 {