Skip to content

Commit

Permalink
Update x/ccv/provider/keeper/keeper.go
Browse files Browse the repository at this point in the history
  • Loading branch information
sainoe authored Oct 10, 2023
1 parent 880eaef commit c95faea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/ccv/provider/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func (k Keeper) DeleteProposedConsumerChainInStore(ctx sdk.Context, proposalID u
store.Delete(types.ProposedConsumerChainKey(proposalID))
}

// GetAllProposedConsumerChainIDs get consumer chainId in gov consumerAddition proposal before voting period ends.
// GetAllProposedConsumerChainIDs returns the proposed chainID of all gov consumerAddition proposals that are still in the voting period.
func (k Keeper) GetAllProposedConsumerChainIDs(ctx sdk.Context) []types.ProposedChain {
store := ctx.KVStore(k.storeKey)
iterator := sdk.KVStorePrefixIterator(store, []byte{types.ProposedConsumerChainByteKey})
Expand Down

0 comments on commit c95faea

Please sign in to comment.