Skip to content

Commit

Permalink
small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
vedhavyas committed Oct 18, 2024
1 parent e206758 commit 14e9774
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions pallets/collator-selection/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,9 @@ pub mod pallet {
.invulnerables
.iter()
.collect::<sp_std::collections::btree_set::BTreeSet<_>>();
assert!(
duplicate_invulnerables.len() == self.invulnerables.len(),
assert_eq!(
duplicate_invulnerables.len(),
self.invulnerables.len(),
"duplicate invulnerables in genesis."
);

Expand Down
2 changes: 1 addition & 1 deletion runtime/shibuya/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1469,7 +1469,7 @@ impl pallet_treasury::Config<CommunityTreasuryInst> for Runtime {
type Paymaster = PayFromAccount<Balances, MainTreasuryAccount>;
type BalanceConverter = UnityAssetBalanceConversion;

type SpendOrigin = TreasurySpender<EnsureRootOrHalfMainCouncil, MaxBalance>;
type SpendOrigin = TreasurySpender<EnsureRootOrHalfCommunityCouncil, MaxBalance>;
type PayoutPeriod = ConstU32<{ 3 * DAYS }>;
#[cfg(feature = "runtime-benchmarks")]
type BenchmarkHelper = ();
Expand Down

0 comments on commit 14e9774

Please sign in to comment.