diff --git a/pallets/identity/src/types.rs b/pallets/identity/src/types.rs index 5795032254fce99273ec33864184f965129a1ad0..e7c98f307a7ce33a2c48c2548c7e589632b83be7 100644 --- a/pallets/identity/src/types.rs +++ b/pallets/identity/src/types.rs @@ -38,10 +38,10 @@ pub enum IdtyEvent<T: crate::Config> { } #[derive(Encode, Decode, Clone, PartialEq, Eq, RuntimeDebug, TypeInfo)] -pub enum IdtyRemovalReason<Other: TypeInfo + Decode + Encode + Eq + Clone> { +pub enum IdtyRemovalReason<OtherReason: TypeInfo + Decode + Encode + Eq + Clone> { Expired, Manual, - Other(Other), + Other(OtherReason), Revoked, }