Clarify 'nop', linter fix

This commit is contained in:
Christopher Goes
2018-07-18 09:47:55 +02:00
parent cea2be6107
commit dc14eef639
2 changed files with 9 additions and 4 deletions
+5
View File
@@ -28,6 +28,11 @@ func (v Validator) GetPubKey() crypto.PubKey {
return nil
}
// Implements sdk.Validator
func (v Validator) GetTokens() sdk.Rat {
return sdk.ZeroRat()
}
// Implements sdk.Validator
func (v Validator) GetPower() sdk.Rat {
return v.Power