Skip to content

Commit

Permalink
docs: Update account.go comments (#18177)
Browse files Browse the repository at this point in the history
  • Loading branch information
in-eth authored Oct 19, 2023
1 parent 4121869 commit 67fbfcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/auth/types/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 67fbfcd

Please sign in to comment.