R4R: Rename validator.GetJailed() to validator.IsJailed() #3245 (#4017)

Closes: #3245
This commit is contained in:
Frank Yang
2019-04-02 15:43:22 +02:00
committed by Alessio Treglia
parent ecd2bfa16f
commit bc8d2d4414
8 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ func (b BondStatus) Equal(b2 BondStatus) bool {
// validator for a delegated proof of stake system
type Validator interface {
GetJailed() bool // whether the validator is jailed
IsJailed() bool // whether the validator is jailed
GetMoniker() string // moniker of the validator
GetStatus() BondStatus // status of the validator
GetOperator() ValAddress // operator address to receive/return validators coins