Skip to content
Snippets Groups Projects
Commit 2219a948 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

fix(!115): remove the `_ => {}` matching pattern

parent 23e08b5f
No related branches found
No related tags found
1 merge request!173Resolve "Identity pallet events are duplicated"
Pipeline #32125 failed
...@@ -335,8 +335,8 @@ impl<T: Config<I>, I: 'static> pallet_identity::traits::OnIdtyChange<T> for Pall ...@@ -335,8 +335,8 @@ impl<T: Config<I>, I: 'static> pallet_identity::traits::OnIdtyChange<T> for Pall
} }
} }
pallet_identity::Event::IdtyConfirmed { .. } pallet_identity::Event::IdtyConfirmed { .. }
| pallet_identity::Event::IdtyChangedOwnerKey { .. } => {} | pallet_identity::Event::IdtyChangedOwnerKey { .. }
_ => {} // TODO: why is it necessary? | pallet_identity::Event::__Ignore(_, _) => {}
} }
Weight::zero() Weight::zero()
} }
......
...@@ -67,8 +67,8 @@ where ...@@ -67,8 +67,8 @@ where
} }
pallet_identity::Event::IdtyCreated { .. } pallet_identity::Event::IdtyCreated { .. }
| pallet_identity::Event::IdtyConfirmed { .. } | pallet_identity::Event::IdtyConfirmed { .. }
| pallet_identity::Event::IdtyRemoved { .. } => {} | pallet_identity::Event::IdtyRemoved { .. }
_ => {} // TODO: why is it necessary? | pallet_identity::Event::__Ignore(_, _) => {}
} }
Weight::zero() Weight::zero()
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment