Skip to content

Commit

Permalink
Unneeded TODO removal (#392)
Browse files Browse the repository at this point in the history
## What?
- Todo in linear release pallet was awaiting a hold reason check.

## Why?
- We don't need it because if the 2 indexes declared don't exist for that hold reason then we will just get an error.
  • Loading branch information
JuaniRios committed Sep 12, 2024
1 parent b61c009 commit e93fa7e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pallets/linear-release/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,6 @@ pub mod pallet {
};
let schedule1_index = schedule1_index as usize;
let schedule2_index = schedule2_index as usize;
// TODO: Add the different reasons check.

let schedules = Self::vesting(&who, reason).ok_or(Error::<T>::NotVesting)?;
let merge_action = VestingAction::Merge { index1: schedule1_index, index2: schedule2_index };
Expand Down

0 comments on commit e93fa7e

Please sign in to comment.