From 9ea4d6df447a74dbcd240611f1f9f41faba97e0f Mon Sep 17 00:00:00 2001 From: Federico Kunze Date: Wed, 8 Aug 2018 11:35:15 +0200 Subject: [PATCH] Deleted key comment --- x/stake/client/rest/utils.go | 1 - 1 file changed, 1 deletion(-) 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 {