docs: Update account.go comments (#18177)

This commit is contained in:
Danny
2023-10-19 16:18:27 +00:00
committed by GitHub
parent 4121869cb7
commit 67fbfcd14b
+1 -1
View File
@@ -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 {