Skip to content

Commit

Permalink
fix build for migration
Browse files Browse the repository at this point in the history
  • Loading branch information
4meta5 committed Feb 13, 2025
1 parent 1261c88 commit 9952cdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/src/migrations/fix_pool_members.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Runtime migration to remove buggy pool members
use frame_support::{
traits::{Currency, Get},
traits::{fungible::Inspect, Get},
weights::Weight,
};
use pallet_nomination_pools::{BondedPools, PoolMembers};
Expand All @@ -10,7 +10,7 @@ use sp_runtime::{traits::Zero, AccountId32};
use sp_std::vec::Vec;

// Type alias for balance type
type BalanceOf<T> = <<T as pallet_nomination_pools::Config>::Currency as Currency<
type BalanceOf<T> = <<T as pallet_nomination_pools::Config>::Currency as Inspect<
<T as frame_system::Config>::AccountId,
>>::Balance;

Expand Down

0 comments on commit 9952cdd

Please sign in to comment.