Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauthamastro committed Mar 13, 2024
1 parent 2ece554 commit 2855b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/ocex/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ fn create_trade_metrics<T: Config>() -> TradingPairMetricsMap<T::AccountId> {
fn get_dummy_snapshot<T: Config>() -> SnapshotSummary<T::AccountId> {
let mut withdrawals = Vec::new();
let pallet_account = Ocex::<T>::get_pallet_account();
T::NativeCurrency::deposit_creating(&pallet_account, (1000u128 * UNIT_BALANCE).saturated_into());
let _imbalance = T::NativeCurrency::deposit_creating(&pallet_account, (1000u128 * UNIT_BALANCE).saturated_into());
for _ in 0..50 {
withdrawals.push(Withdrawal {
main_account: T::AccountId::decode(&mut &[0u8; 32][..]).unwrap(),
Expand Down

0 comments on commit 2855b82

Please sign in to comment.