Skip to content

Commit 4a577bd

Browse files
authored
docs: fix some function names in comment (#2420)
chore: fix some function names in comment Signed-off-by: guqicun <[email protected]>
1 parent 6a20337 commit 4a577bd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

x/ccv/consumer/types/keys.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ func GetAllKeyPrefixes() []byte {
192192
return prefixList
193193
}
194194

195-
// GetAllKeys returns the names of all the keys.
195+
// GetAllKeyNames returns the names of all the keys.
196196
// Only used for testing
197197
func GetAllKeyNames() []string {
198198
prefixMap := getKeyPrefixes()

x/ccv/provider/keeper/key_assignment.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ func (k Keeper) GetAllConsumerAddrsToPrune(ctx sdk.Context, consumerId string) (
388388
return consumerAddrsToPrune
389389
}
390390

391-
// DeleteConsumerAddrsToPruneV2 deletes the list of consumer addresses mapped to a timestamp
391+
// DeleteConsumerAddrsToPrune deletes the list of consumer addresses mapped to a timestamp
392392
func (k Keeper) DeleteConsumerAddrsToPrune(ctx sdk.Context, consumerId string, pruneTs time.Time) {
393393
store := ctx.KVStore(k.storeKey)
394394
store.Delete(types.ConsumerAddrsToPruneV2Key(consumerId, pruneTs))

x/ccv/provider/types/keys.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ func GetAllKeyPrefixes() []byte {
443443
return prefixList
444444
}
445445

446-
// GetAllKeys returns the names of all the keys.
446+
// GetAllKeyNames returns the names of all the keys.
447447
// Only used for testing
448448
func GetAllKeyNames() []string {
449449
prefixMap := getKeyPrefixes()

0 commit comments

Comments
 (0)