From cadb07530ec282181e6140f95883b7fc72608310 Mon Sep 17 00:00:00 2001 From: tuxmain <tuxmain@zettascript.org> Date: Fri, 8 Sep 2023 14:05:15 +0200 Subject: [PATCH] Rename associated type Other to OtherReason --- pallets/identity/src/types.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pallets/identity/src/types.rs b/pallets/identity/src/types.rs index 579503225..e7c98f307 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, } -- GitLab