Skip to content

Commit b699d03

Browse files
committed
chore: fix some comments
Signed-off-by: cloudclaim <824973921@qq.com>
1 parent fdd752f commit b699d03

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

x/profiles/keeper/alias_functions.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ func (k Keeper) IterateDefaultExternalAddresses(ctx sdk.Context, fn func(entry t
248248
}
249249

250250
// GetDefaultExternalAddressEntries returns a slice of DefaultExternalAddressEntry objects containing the details of all the
251-
// default exnternal address entries stored inside the current context
251+
// default external address entries stored inside the current context
252252
func (k Keeper) GetDefaultExternalAddressEntries(ctx sdk.Context) []types.DefaultExternalAddressEntry {
253253
var entries []types.DefaultExternalAddressEntry
254254
k.IterateDefaultExternalAddresses(ctx, func(entry types.DefaultExternalAddressEntry) (stop bool) {

x/profiles/keeper/keeper_chain_links.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func (k Keeper) DeleteChainLink(ctx sdk.Context, link types.ChainLink) {
9494
store.Delete(types.ChainLinksStoreKey(link.User, link.ChainConfig.Name, link.GetAddressData().GetValue()))
9595
store.Delete(types.ChainLinkOwnerKey(link.ChainConfig.Name, link.GetAddressData().GetValue(), link.User))
9696

97-
// Update the default external address to be the oldest link if the deleted link is default exnternal address
97+
// Update the default external address to be the oldest link if the deleted link is default external address
9898
if k.isDefaultExternalAddress(ctx, link) {
9999
k.updateOwnerDefaultExternalAddress(ctx, link.User, link.ChainConfig.Name)
100100
}

x/profiles/spec/07-client.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ desmos query profiles default-external-addresses [[owner]] [[chain_name]] [flags
124124
```
125125

126126
**Notes**
127-
- The `chain_name` paremeter will only be used if the `owner` is specified
127+
- The `chain_name` parameter will only be used if the `owner` is specified
128128

129129
Example:
130130
```bash

0 commit comments

Comments
 (0)