Skip to content

Commit

Permalink
remove empty line
Browse files Browse the repository at this point in the history
  • Loading branch information
chungquantin committed Jul 28, 2024
1 parent 11a7689 commit 8a69845
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pallets/api/src/fungibles/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ pub mod pallet {
let id: AssetIdParameterOf<T> = id.into();

current_allowance.saturating_reduce(value);

// Cancel the aproval and set the new value if `current_allowance` is more than zero
AssetsOf::<T>::cancel_approval(origin.clone(), id.clone(), spender.clone())
.map_err(|e| e.with_weight(Self::weight_approve(0, 1)))?;
Expand Down

0 comments on commit 8a69845

Please sign in to comment.