From 67fbfcd14b8e951084cb1c28fb5aa585b9aeff3f Mon Sep 17 00:00:00 2001 From: Danny <135246628+mdanny1209@users.noreply.github.com> Date: Thu, 19 Oct 2023 12:18:27 -0400 Subject: [PATCH] docs: Update account.go comments (#18177) --- x/auth/types/account.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/auth/types/account.go b/x/auth/types/account.go index b111cf0c16..529fc28914 100644 --- a/x/auth/types/account.go +++ b/x/auth/types/account.go @@ -142,7 +142,7 @@ func (acc BaseAccount) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error { return unpacker.UnpackAny(acc.PubKey, &pubKey) } -// NewModuleAddressOrAddress gets an input string and returns an AccAddress. +// NewModuleAddressOrBech32Address gets an input string and returns an AccAddress. // If the input is a valid address, it returns the address. // If the input is a module name, it returns the module address. func NewModuleAddressOrBech32Address(input string) sdk.AccAddress {