Get clippy to pass across the repo

This commit is contained in:
Luke Parker
2024-08-05 23:29:51 -04:00
parent 2ae2883106
commit 89fc88b283
18 changed files with 171 additions and 144 deletions

View File

@@ -1002,7 +1002,7 @@ pub mod pallet {
EmbeddedEllipticCurve::Secq256k1 => 33,
};
if key.len() != expected_len {
Err(Error::InvalidEmbeddedEllipticCurveKey)?;
Err(Error::<T>::InvalidEmbeddedEllipticCurveKey)?;
}
// This does allow overwriting an existing key which... is unlikely to be done?