diff --git a/pallets/duniter-wot/src/lib.rs b/pallets/duniter-wot/src/lib.rs index cf4aaf938f9d6972868be6b40557a5b55880debe..9f8d1d2ae0c7d4308ecefb2314091a2faa558d11 100644 --- a/pallets/duniter-wot/src/lib.rs +++ b/pallets/duniter-wot/src/lib.rs @@ -335,8 +335,8 @@ impl<T: Config<I>, I: 'static> pallet_identity::traits::OnIdtyChange<T> for Pall } } pallet_identity::Event::IdtyConfirmed { .. } - | pallet_identity::Event::IdtyChangedOwnerKey { .. } => {} - _ => {} // TODO: why is it necessary? + | pallet_identity::Event::IdtyChangedOwnerKey { .. } + | pallet_identity::Event::__Ignore(_, _) => {} } Weight::zero() } diff --git a/runtime/common/src/handlers.rs b/runtime/common/src/handlers.rs index 45cc8f4336050756ee38cf228a798e6ef2feb90d..8b72a50f3a137e5075dcee331b4f8c6c0fc89562 100644 --- a/runtime/common/src/handlers.rs +++ b/runtime/common/src/handlers.rs @@ -67,8 +67,8 @@ where } pallet_identity::Event::IdtyCreated { .. } | pallet_identity::Event::IdtyConfirmed { .. } - | pallet_identity::Event::IdtyRemoved { .. } => {} - _ => {} // TODO: why is it necessary? + | pallet_identity::Event::IdtyRemoved { .. } + | pallet_identity::Event::__Ignore(_, _) => {} } Weight::zero() }