Skip to content

Commit

Permalink
fix: mock_bench_default_investment_id
Browse files Browse the repository at this point in the history
  • Loading branch information
wischli committed Sep 22, 2023
1 parent 2131eda commit ff04c51
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libs/mocks/src/pools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ pub mod pallet {
register_call!(move |(a, b, c)| f(a, b, c));
}

pub fn mock_bench_default_investment_id(f: impl Fn(T::TrancheCurrency) + 'static) {
pub fn mock_bench_default_investment_id(
f: impl Fn(T::PoolId) -> T::TrancheCurrency + 'static + 'static,
) {
register_call!(f);
}
}
Expand Down

0 comments on commit ff04c51

Please sign in to comment.