Skip to content

Commit

Permalink
Merge branch 'mardizzone/POS-1956-auth' into mardizzone/POS-2511-auth
Browse files Browse the repository at this point in the history
  • Loading branch information
marcello33 committed Feb 29, 2024
2 parents 7509eb1 + 75d2228 commit 1a27c66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x/auth/types/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ func NewModuleAddressOrHexAddress(input string) sdk.AccAddress {
return NewModuleAddress(input)
}

// TODO HV2: Informal to clarify about modules having addresses/accounts and how keys management is done

// NewModuleAddress creates an AccAddress from the hash of the module's name
func NewModuleAddress(name string) sdk.AccAddress {
return address.Module(name)
Expand Down

0 comments on commit 1a27c66

Please sign in to comment.