Skip to content

Commit

Permalink
chore: fix some function names in comment
Browse files Browse the repository at this point in the history
Signed-off-by: guqicun <[email protected]>
  • Loading branch information
guqicun committed Dec 7, 2024
1 parent b62f564 commit c46af32
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 c46af32

Please sign in to comment.