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

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

parent 099eded8
No related branches found
No related tags found
No related merge requests found
Pipeline #32122 waiting for manual action
...@@ -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