Linter fixes

This commit is contained in:
Christopher Goes 2018-05-28 22:12:45 +02:00
parent d03577a2fc
commit bfa9d5f914
No known key found for this signature in database
GPG Key ID: E828D98232D328D3
1 changed files with 5 additions and 0 deletions

View File

@ -17,12 +17,17 @@ const (
CodeValidatorJailed CodeType = 202 CodeValidatorJailed CodeType = 202
) )
//nolint
func ErrNoValidatorForAddress(codespace sdk.CodespaceType) sdk.Error { func ErrNoValidatorForAddress(codespace sdk.CodespaceType) sdk.Error {
return newError(codespace, CodeInvalidValidator, "That address is not associated with any known validator") return newError(codespace, CodeInvalidValidator, "That address is not associated with any known validator")
} }
//nolint
func ErrBadValidatorAddr(codespace sdk.CodespaceType) sdk.Error { func ErrBadValidatorAddr(codespace sdk.CodespaceType) sdk.Error {
return newError(codespace, CodeInvalidValidator, "Validator does not exist for that address") return newError(codespace, CodeInvalidValidator, "Validator does not exist for that address")
} }
//nolint
func ErrValidatorJailed(codespace sdk.CodespaceType) sdk.Error { func ErrValidatorJailed(codespace sdk.CodespaceType) sdk.Error {
return newError(codespace, CodeValidatorJailed, "Validator jailed, cannot yet be unrevoked") return newError(codespace, CodeValidatorJailed, "Validator jailed, cannot yet be unrevoked")
} }