Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix some comments #1341

Merged
merged 1 commit into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion x/profiles/keeper/alias_functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion x/profiles/keeper/keeper_chain_links.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
2 changes: 1 addition & 1 deletion x/profiles/spec/07-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading