Skip to content

Commit

Permalink
happy clippy happy life
Browse files Browse the repository at this point in the history
  • Loading branch information
enthusiastmartin committed Jul 5, 2023
1 parent a2c2fbd commit 3c038a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/stableswap/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ pub mod pallet {
Pools::<T>::try_mutate(pool_id, |maybe_pool| -> DispatchResult {
let mut pool = maybe_pool.as_mut().ok_or(Error::<T>::PoolNotFound)?;

let current_amplification = Self::get_amplification(&pool);
let current_amplification = Self::get_amplification(pool);

ensure!(
current_amplification != final_amplification as u128,
Expand Down

0 comments on commit 3c038a0

Please sign in to comment.