Skip to content

Commit

Permalink
remove todo from code
Browse files Browse the repository at this point in the history
  • Loading branch information
Ank4n committed Dec 5, 2024
1 parent ecb87d9 commit 7a2365a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion substrate/frame/staking/src/asset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ pub fn staked<T: Config>(who: &T::AccountId) -> BalanceOf<T> {
/// Does not include the current stake.
pub fn free_to_stake<T: Config>(who: &T::AccountId) -> BalanceOf<T> {
// since we want to be able to use frozen funds for staking, we force the reduction.
// todo(ank4n): test above scenario.
T::Currency::reducible_balance(who, Preservation::Preserve, Fortitude::Force)
}

Expand Down

0 comments on commit 7a2365a

Please sign in to comment.