Skip to content

Commit

Permalink
fix another bug
Browse files Browse the repository at this point in the history
  • Loading branch information
shaspitz committed Jun 2, 2023
1 parent 88d7764 commit fa0914b
Show file tree
Hide file tree
Showing 2 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 @@ -173,7 +173,7 @@ func CrossChainValidatorKey(addr []byte) []byte {
// that cannot be sent yet to the provider chain either because the CCV channel
// is not established or because the client is expired.
func PendingDataPacketsKey() []byte {
return []byte{PendingDataPacketsByteKey}
return []byte{PendingDataPacketsBytePrefix}
}

func PreCCVKey() []byte {
Expand Down
4 changes: 2 additions & 2 deletions x/ccv/consumer/types/keys_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func getAllFullyDefinedKeys() [][]byte {
ProviderClientIDKey(),
ProviderChannelKey(),
PendingChangesKey(),
PendingDataPacketsKey(),
// PendingDataPacketsKey() does not use duplicated prefix with value of 0x06
PreCCVKey(),
InitialValSetKey(),
// LastStandaloneHeightKey() is depreciated
Expand All @@ -72,7 +72,7 @@ func getAllFullyDefinedKeys() [][]byte {
PacketMaturityTimeKey(0, time.Time{}),
HeightValsetUpdateIDKey(0),
OutstandingDowntimeKey([]byte{}),
// PendingDataPacketsKey() does not use depreciated prefix
PendingDataPacketsKey(),
CrossChainValidatorKey([]byte{}),
InitGenesisHeightKey(),
StandaloneTransferChannelIDKey(),
Expand Down

0 comments on commit fa0914b

Please sign in to comment.