Skip to content
Snippets Groups Projects
Commit ad230b5b authored by Éloïs's avatar Éloïs
Browse files

clippy

parent b6778e7e
No related branches found
No related tags found
1 merge request!26ref: simplify wot (remove right)
This commit is part of merge request !26. Comments created here will be created in the context of that merge request.
......@@ -337,7 +337,7 @@ pub mod pallet {
let name = idty_value.name.clone();
<Identities<T>>::insert(idty_index, idty_value);
Self::deposit_event(Event::IdtyValidated(name.clone()));
Self::deposit_event(Event::IdtyValidated(name));
T::OnIdtyChange::on_idty_change(idty_index, IdtyEvent::Validated);
Ok(().into())
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment