Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
clean up
  • Loading branch information
NachoPal committed Oct 3, 2021
commit 8de21b263fa3dd7baa77ea41492abf0495d32a46
6 changes: 3 additions & 3 deletions pallets/collator-selection/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ pub mod pallet {
},
PalletId,
};
use frame_system::{pallet_prelude::*};
use frame_system::pallet_prelude::*;
use frame_system::Config as SystemConfig;
use frame_support::{
sp_runtime::{
Expand Down Expand Up @@ -150,10 +150,10 @@ pub mod pallet {
/// A conversion from account ID to validator ID.
///
/// Its cost must be at most one storage read.
type ValidatorIdOf: Convert<Self::AccountId, Option<<Self as self::Config>::ValidatorId>>;
type ValidatorIdOf: Convert<Self::AccountId, Option<Self::ValidatorId>>;

/// Validate a user is registered
type ValidatorRegistration: ValidatorRegistration<<Self as self::Config>::ValidatorId>;
type ValidatorRegistration: ValidatorRegistration<Self::ValidatorId>;

/// The weight information of this pallet.
type WeightInfo: WeightInfo;
Expand Down