mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-12 14:09:25 +00:00
fix clippy
This commit is contained in:
@@ -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(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user