Delete Delegation
This commit is contained in:
parent
debed9cd38
commit
3af2a09c3d
@ -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
|
||||
|
||||
@ -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{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user