GetDelegated -> GetBondAmount

This commit is contained in:
mossid 2018-05-09 22:30:32 +02:00 committed by rigelrozanski
parent 2e9e2835ff
commit 22e9fc276d
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ type ValidatorSetKeeper interface {
type Delegation interface {
GetDelegator() Address
GetValidator() Address
GetDelegated() Rat
GetBondAmount() Rat
}
type DelegationSet interface {

View File

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