Skip to content

Commit

Permalink
Fix compiler error
Browse files Browse the repository at this point in the history
  • Loading branch information
maltekliemann committed Jul 7, 2024
1 parent fec0e86 commit 6d1c61c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion zrml/hybrid-router/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,11 @@ mod benchmarks {
let order_creator: T::AccountId = account("order_creator", *order_id as u32, 0);
let surplus = ((i + 1) as u128) * _1_2;
let taker_amount = taker_amount + surplus.saturated_into::<BalanceOf<T>>();
assert_ok!(T::AssetManager::deposit(maker_asset, &order_creator, maker_amount + _100));
assert_ok!(T::AssetManager::deposit(
maker_asset,
&order_creator,
maker_amount + _100.saturated_into()
));
T::Orderbook::place_order(
order_creator,
market_id,
Expand Down

0 comments on commit 6d1c61c

Please sign in to comment.