Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauthamastro committed Mar 19, 2024
1 parent 163e2b4 commit c68818e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pallets/ocex/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1530,7 +1530,8 @@ pub mod pallet {
);
let fee_to_be_burnt =
Percent::from_percent(distribution.burn_ration) * fees;
let fee_to_be_distributed = fees.saturating_sub(fee_to_be_burnt);
let fee_to_be_distributed =
fees.saturating_sub(fee_to_be_burnt);
// Burn the fee
let imbalance = T::NativeCurrency::burn(
fee_to_be_burnt.saturated_into(),
Expand Down

0 comments on commit c68818e

Please sign in to comment.