From 3af2a09c3dc7d709061da6f9574231d4d39cb633 Mon Sep 17 00:00:00 2001 From: Federico Kunze Date: Sat, 20 Oct 2018 22:39:03 +0200 Subject: [PATCH] Delete Delegation --- x/stake/stake.go | 1 - x/stake/types/delegation.go | 7 ------- 2 files changed, 8 deletions(-) diff --git a/x/stake/stake.go b/x/stake/stake.go index 495a0b0378..7e0e2f1f16 100644 --- a/x/stake/stake.go +++ b/x/stake/stake.go @@ -14,7 +14,6 @@ type ( Description = types.Description Commission = types.Commission Delegation = types.Delegation - DelegationSummary = types.DelegationSummary UnbondingDelegation = types.UnbondingDelegation Redelegation = types.Redelegation Params = types.Params diff --git a/x/stake/types/delegation.go b/x/stake/types/delegation.go index 1b51e00acf..3158b89fa5 100644 --- a/x/stake/types/delegation.go +++ b/x/stake/types/delegation.go @@ -41,13 +41,6 @@ type delegationValue struct { Height int64 } -// aggregates of all delegations, unbondings and redelegations -type DelegationSummary struct { - Delegations []Delegation `json:"delegations"` - UnbondingDelegations []UnbondingDelegation `json:"unbonding_delegations"` - Redelegations []Redelegation `json:"redelegations"` -} - // return the delegation without fields contained within the key for the store func MustMarshalDelegation(cdc *codec.Codec, delegation Delegation) []byte { val := delegationValue{