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 0ae0649 commit 880eaef
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 @@ -185,7 +185,7 @@ func (k Keeper) SetProposedConsumerChain(ctx sdk.Context, chainID string, propos
store.Set(types.ProposedConsumerChainKey(proposalID), []byte(chainID))
}

// GetProposedConsumerChain get the proposed chainID in consumerAddition proposal.
// GetProposedConsumerChain returns the proposed chainID for the given consumerAddition proposal ID.
func (k Keeper) GetProposedConsumerChain(ctx sdk.Context, proposalID uint64) string {
store := ctx.KVStore(k.storeKey)
return string(store.Get(types.ProposedConsumerChainKey(proposalID)))
Expand Down

0 comments on commit 880eaef

Please sign in to comment.