docs: Update account.go comments (#18177)
This commit is contained in:
parent
4121869cb7
commit
67fbfcd14b
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user