Skip to content

Commit

Permalink
docs: fix some function names in comment (#2420)
Browse files Browse the repository at this point in the history
chore: fix some function names in comment

Signed-off-by: guqicun <guqicun@outlook.com>
  • Loading branch information
guqicun authored Dec 9, 2024
1 parent 6a20337 commit 4a577bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion x/ccv/consumer/types/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func GetAllKeyPrefixes() []byte {
return prefixList
}

// GetAllKeys returns the names of all the keys.
// GetAllKeyNames returns the names of all the keys.
// Only used for testing
func GetAllKeyNames() []string {
prefixMap := getKeyPrefixes()
Expand Down
2 changes: 1 addition & 1 deletion x/ccv/provider/keeper/key_assignment.go
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ func (k Keeper) GetAllConsumerAddrsToPrune(ctx sdk.Context, consumerId string) (
return consumerAddrsToPrune
}

// DeleteConsumerAddrsToPruneV2 deletes the list of consumer addresses mapped to a timestamp
// DeleteConsumerAddrsToPrune deletes the list of consumer addresses mapped to a timestamp
func (k Keeper) DeleteConsumerAddrsToPrune(ctx sdk.Context, consumerId string, pruneTs time.Time) {
store := ctx.KVStore(k.storeKey)
store.Delete(types.ConsumerAddrsToPruneV2Key(consumerId, pruneTs))
Expand Down
2 changes: 1 addition & 1 deletion x/ccv/provider/types/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ func GetAllKeyPrefixes() []byte {
return prefixList
}

// GetAllKeys returns the names of all the keys.
// GetAllKeyNames returns the names of all the keys.
// Only used for testing
func GetAllKeyNames() []string {
prefixMap := getKeyPrefixes()
Expand Down

0 comments on commit 4a577bd

Please sign in to comment.