Delete Delegation

This commit is contained in:
Federico Kunze 2018-10-20 22:39:03 +02:00
parent debed9cd38
commit 3af2a09c3d
2 changed files with 0 additions and 8 deletions

View File

@ -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

View File

@ -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{