Skip to content

Commit

Permalink
remove unused 'e'
Browse files Browse the repository at this point in the history
  • Loading branch information
b-yap committed Oct 16, 2023
1 parent 9130670 commit c385379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/clients-info/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ pub mod pallet {
origin: OriginFor<T>,
account_id: T::AccountId,
) -> DispatchResult {
if let Err(e) = ensure_root(origin.clone()) {
if let Err(_) = ensure_root(origin.clone()) {
let origin_account_id = Pallet::<T>::check_non_root_rights(origin)?;
ensure!(
account_id != origin_account_id,
Expand Down

0 comments on commit c385379

Please sign in to comment.