diff --git a/x/profiles/keeper/alias_functions.go b/x/profiles/keeper/alias_functions.go index 021f2988a7..63dc4e62c6 100644 --- a/x/profiles/keeper/alias_functions.go +++ b/x/profiles/keeper/alias_functions.go @@ -248,7 +248,7 @@ func (k Keeper) IterateDefaultExternalAddresses(ctx sdk.Context, fn func(entry t } // GetDefaultExternalAddressEntries returns a slice of DefaultExternalAddressEntry objects containing the details of all the -// default exnternal address entries stored inside the current context +// default external address entries stored inside the current context func (k Keeper) GetDefaultExternalAddressEntries(ctx sdk.Context) []types.DefaultExternalAddressEntry { var entries []types.DefaultExternalAddressEntry k.IterateDefaultExternalAddresses(ctx, func(entry types.DefaultExternalAddressEntry) (stop bool) { diff --git a/x/profiles/keeper/keeper_chain_links.go b/x/profiles/keeper/keeper_chain_links.go index 8a07d3983b..69980f802b 100644 --- a/x/profiles/keeper/keeper_chain_links.go +++ b/x/profiles/keeper/keeper_chain_links.go @@ -94,7 +94,7 @@ func (k Keeper) DeleteChainLink(ctx sdk.Context, link types.ChainLink) { store.Delete(types.ChainLinksStoreKey(link.User, link.ChainConfig.Name, link.GetAddressData().GetValue())) store.Delete(types.ChainLinkOwnerKey(link.ChainConfig.Name, link.GetAddressData().GetValue(), link.User)) - // Update the default external address to be the oldest link if the deleted link is default exnternal address + // Update the default external address to be the oldest link if the deleted link is default external address if k.isDefaultExternalAddress(ctx, link) { k.updateOwnerDefaultExternalAddress(ctx, link.User, link.ChainConfig.Name) } diff --git a/x/profiles/spec/07-client.md b/x/profiles/spec/07-client.md index 01edf36f8a..98727d053e 100644 --- a/x/profiles/spec/07-client.md +++ b/x/profiles/spec/07-client.md @@ -124,7 +124,7 @@ desmos query profiles default-external-addresses [[owner]] [[chain_name]] [flags ``` **Notes** -- The `chain_name` paremeter will only be used if the `owner` is specified +- The `chain_name` parameter will only be used if the `owner` is specified Example: ```bash