GetDelegated -> GetBondAmount
This commit is contained in:
parent
2e9e2835ff
commit
22e9fc276d
@ -34,7 +34,7 @@ type ValidatorSetKeeper interface {
|
||||
type Delegation interface {
|
||||
GetDelegator() Address
|
||||
GetValidator() Address
|
||||
GetDelegated() Rat
|
||||
GetBondAmount() Rat
|
||||
}
|
||||
|
||||
type DelegationSet interface {
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user