Misc clippy fixes

This commit is contained in:
Luke Parker
2025-09-03 06:10:54 -04:00
parent 2032cf355f
commit a2209dd6ff
5 changed files with 19 additions and 6 deletions

View File

@@ -44,7 +44,7 @@ impl<S: EmbeddedEllipticCurveKeysStorage> EmbeddedEllipticCurveKeys for S {
) -> bool {
match network {
// Validators never need to set embedded elliptic curve keys for Serai
NetworkId::Serai => return false,
NetworkId::Serai => false,
NetworkId::External(network) => {
!S::EmbeddedEllipticCurveKeys::contains_key(network, validator)
}