From 4a577bd5463e904405bfea35744cc05f67f252e6 Mon Sep 17 00:00:00 2001 From: guqicun Date: Mon, 9 Dec 2024 17:51:44 +0800 Subject: [PATCH] docs: fix some function names in comment (#2420) chore: fix some function names in comment Signed-off-by: guqicun --- x/ccv/consumer/types/keys.go | 2 +- x/ccv/provider/keeper/key_assignment.go | 2 +- x/ccv/provider/types/keys.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/x/ccv/consumer/types/keys.go b/x/ccv/consumer/types/keys.go index bded8ba3bd..eecfe8b188 100644 --- a/x/ccv/consumer/types/keys.go +++ b/x/ccv/consumer/types/keys.go @@ -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() diff --git a/x/ccv/provider/keeper/key_assignment.go b/x/ccv/provider/keeper/key_assignment.go index 29970d0b0f..f94b43a1c3 100644 --- a/x/ccv/provider/keeper/key_assignment.go +++ b/x/ccv/provider/keeper/key_assignment.go @@ -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)) diff --git a/x/ccv/provider/types/keys.go b/x/ccv/provider/types/keys.go index a2798da0af..8f44bd8244 100644 --- a/x/ccv/provider/types/keys.go +++ b/x/ccv/provider/types/keys.go @@ -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()