diff --git a/runtime/common/src/handlers.rs b/runtime/common/src/handlers.rs index 9c3c7ac842ea9da3d3bc86557afa90a81c4ebc3c..95a6ccabdf9bab3144fbc8163c37e7fbac4de79a 100644 --- a/runtime/common/src/handlers.rs +++ b/runtime/common/src/handlers.rs @@ -49,17 +49,7 @@ where match idty_event { IdtyEvent::Validated => { // when identity is validated, it starts getting right to UD - // this is not a duplicate with membership acquired handler - // because when membership acquired handler is called - // the identity does not exists yet and so UD do not get initialized - pallet_identity::Identities::<T>::mutate_exists(idty_index, |idty_val_opt| { - if let Some(ref mut idty_val) = idty_val_opt { - idty_val.data = IdtyData { - first_eligible_ud: - pallet_universal_dividend::Pallet::<T>::init_first_eligible_ud(), - } - } - }); + // but this is handeled by membership event handler (MembershipAcquired) } IdtyEvent::ChangedOwnerKey { new_owner_key } => { if let Err(e) = pallet_authority_members::Pallet::<T>::change_owner_key(