mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-03 17:40:34 +00:00
fix clippy
This commit is contained in:
parent
08d258a16f
commit
63345f2c68
1 changed files with 1 additions and 1 deletions
|
@ -1016,7 +1016,7 @@ pub mod pallet {
|
||||||
|
|
||||||
Coins::<T>::burn(
|
Coins::<T>::burn(
|
||||||
RawOrigin::Signed(pool_account).into(),
|
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(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue