diff --git a/x/stake/client/rest/utils.go b/x/stake/client/rest/utils.go index 123b4bc33893..86e714662861 100644 --- a/x/stake/client/rest/utils.go +++ b/x/stake/client/rest/utils.go @@ -31,7 +31,6 @@ func getDelegatorValidator(cliCtx context.CLIContext, cdc *wire.Codec, delegator // check if the delegator is bonded or redelegated to the validator keyDel := stake.GetDelegationKey(delegatorAddr, validatorAccAddr) - // keyRed := stake.GetREDsByDelToValDstIndexKey(delegatorAddr, validatorAccAddr) res, err := cliCtx.QueryStore(keyDel, storeName) if err != nil {