mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
keymanager api: lowercase statuses (#13696)
* cleanup * adding test * address small comment * gaz
This commit is contained in:
@@ -74,13 +74,13 @@ type KeyStatus struct {
|
||||
type KeyStatusType string
|
||||
|
||||
const (
|
||||
StatusImported KeyStatusType = "IMPORTED"
|
||||
StatusError KeyStatusType = "ERROR"
|
||||
StatusDuplicate KeyStatusType = "DUPLICATE"
|
||||
StatusUnknown KeyStatusType = "UNKNOWN"
|
||||
StatusNotFound KeyStatusType = "NOT_FOUND"
|
||||
StatusDeleted KeyStatusType = "DELETED"
|
||||
StatusNotActive KeyStatusType = "NOT_ACTIVE"
|
||||
StatusImported KeyStatusType = "imported"
|
||||
StatusError KeyStatusType = "error"
|
||||
StatusDuplicate KeyStatusType = "duplicate"
|
||||
StatusUnknown KeyStatusType = "unknown"
|
||||
StatusNotFound KeyStatusType = "not_found"
|
||||
StatusDeleted KeyStatusType = "deleted"
|
||||
StatusNotActive KeyStatusType = "not_active"
|
||||
)
|
||||
|
||||
// PublicKeyDeleter allows deleting public keys set in keymanager.
|
||||
|
||||
Reference in New Issue
Block a user