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

fix(#176): clippy

parent b2927590
No related branches found
No related tags found
No related merge requests found
Pipeline #35568 passed
...@@ -440,7 +440,7 @@ impl<T: Config> Pallet<T> { ...@@ -440,7 +440,7 @@ impl<T: Config> Pallet<T> {
if let Some(smith_meta) = maybe_smith_meta { if let Some(smith_meta) = maybe_smith_meta {
smith_meta.received_certs.push(issuer); smith_meta.received_certs.push(issuer);
smith_meta.received_certs.sort(); smith_meta.received_certs.sort();
let previous_status = smith_meta.status.clone(); let previous_status = smith_meta.status;
smith_meta.status = smith_meta.status =
if smith_meta.received_certs.len() >= T::MinCertForMembership::get() as usize { if smith_meta.received_certs.len() >= T::MinCertForMembership::get() as usize {
SmithStatus::Smith SmithStatus::Smith
......
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