diff --git a/types/validator_set.go b/types/validator_set.go index af534747f5..faa21277bb 100644 --- a/types/validator_set.go +++ b/types/validator_set.go @@ -34,7 +34,7 @@ type ValidatorSetKeeper interface { type Delegation interface { GetDelegator() Address GetValidator() Address - GetDelegated() Rat + GetBondAmount() Rat } type DelegationSet interface { diff --git a/x/stake/types.go b/x/stake/types.go index 7bd03b38f9..da5953f9fb 100644 --- a/x/stake/types.go +++ b/x/stake/types.go @@ -364,7 +364,7 @@ func (b DelegatorBond) GetValidator() sdk.Address { return b.CandidateAddr } -func (b DelegatorBond) GetDelegated() sdk.Rat { +func (b DelegatorBond) GetBondAmount() sdk.Rat { return b.Shares }