mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Misc clippy fixes
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
@@ -73,6 +73,7 @@ impl<T: pallet::Config> GetValidatorCount for MembershipProof<T> {
|
||||
}
|
||||
*/
|
||||
|
||||
#[expect(clippy::ignored_unit_patterns, clippy::cast_possible_truncation)]
|
||||
#[frame_support::pallet]
|
||||
mod pallet {
|
||||
use sp_core::sr25519::Public;
|
||||
|
||||
Reference in New Issue
Block a user