From 9ab14eec818afb79bad9668125f0bc3b4442a886 Mon Sep 17 00:00:00 2001
From: Philip Offtermatt
Date: Wed, 24 Jul 2024 17:05:15 +0200
Subject: [PATCH] Fix key for validator set updates
---
x/ccv/provider/keeper/validator_set_update.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/x/ccv/provider/keeper/validator_set_update.go b/x/ccv/provider/keeper/validator_set_update.go
index af3491830f..26935a79e1 100644
--- a/x/ccv/provider/keeper/validator_set_update.go
+++ b/x/ccv/provider/keeper/validator_set_update.go
@@ -14,7 +14,7 @@ import (
// GetConsumerChainConsensusValidatorsKey returns the store key for consumer validators of the consumer chain with `chainID`
func (k Keeper) GetConsumerChainConsensusValidatorsKey(ctx sdk.Context, chainID string) []byte {
- return types.ChainIdWithLenKey(types.ConsumerValidatorsKeyPrefix(), chainID)
+ return types.ChainIdWithLenKey(types.ConsumerValidatorKeyPrefix(), chainID)
}
// SetConsumerValidator sets provided consumer `validator` on the consumer chain with `chainID`