fix clippy

This commit is contained in:
akildemir 2024-10-18 12:17:35 +03:00
parent 08d258a16f
commit 63345f2c68

View file

@ -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(())
}