Skip to content

Commit

Permalink
rustfmt error fix
Browse files Browse the repository at this point in the history
Signed-off-by: Amar Tumballi <amar@dhiway.com>
  • Loading branch information
amarts authored and smohan-dw committed Jan 17, 2024
1 parent 5e3e2d5 commit f556f1c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pallets/asset/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -347,10 +347,7 @@ pub mod pallet {
let instance = <Issuance<T>>::get(&entry.asset_id, &entry.asset_instance_id)
.ok_or(Error::<T>::AssetInstanceNotFound)?;

ensure!(
instance.asset_instance_owner == owner,
Error::<T>::UnauthorizedOperation
);
ensure!(instance.asset_instance_owner == owner, Error::<T>::UnauthorizedOperation);
ensure!(
instance.asset_instance_owner == entry.asset_owner,
Error::<T>::UnauthorizedOperation
Expand Down

0 comments on commit f556f1c

Please sign in to comment.