Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
f-gate committed Nov 30, 2023
1 parent 39a30db commit b269968
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion pallets/briefs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,6 @@ pub mod pallet {
.to_vec()
.try_into()
.map_err(|_| Error::<T>::TooManyMilestones)?,

FundingPath::TakeFromReserved,
)?;

Expand Down
5 changes: 3 additions & 2 deletions pallets/briefs/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ pub static TREASURY: AccountId = 200;
pub static JURY_1: AccountId = 1002;
pub static JURY_2: AccountId = 1001;


pub(crate) fn build_test_externality() -> sp_io::TestExternalities {
let mut t = frame_system::GenesisConfig::<Test>::default()
.build_storage()
Expand Down Expand Up @@ -315,7 +314,9 @@ pub struct MockJurySelector;
impl pallet_fellowship::traits::SelectJury<AccountId> for MockJurySelector {
type JurySize = MaxJuryMembers;
fn select_jury() -> BoundedVec<AccountId, Self::JurySize> {
vec![JURY_1, JURY_2].try_into().expect("should be below bound.")
vec![JURY_1, JURY_2]
.try_into()
.expect("should be below bound.")
}
}

Expand Down

0 comments on commit b269968

Please sign in to comment.