Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
akildemir committed Oct 18, 2024
1 parent 08d258a commit 63345f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion substrate/dex/pallet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ pub mod pallet {

Coins::<T>::burn(
RawOrigin::Signed(pool_account).into(),
Balance { coin, amount: Amount(burn_amount.try_into().map_err(|_| Error::<T>::Overflow)?) },
Balance { coin, amount: Amount(burn_amount) },
)?;
Ok(())
}
Expand Down

0 comments on commit 63345f2

Please sign in to comment.