Skip to content

Commit

Permalink
comment condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Leouarz committed Oct 20, 2024
1 parent cb41b86 commit f25d213
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pallets/fusion/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -999,9 +999,10 @@ pub mod pallet {
evm_address: EvmAddress,
new_controller_address: Option<T::AccountId>,
) -> DispatchResult {
// TODO - commented for tests only
if let Some(who) = ensure_signed_or_root(origin)? {
Self::ensure_valid_fusion_origin(who, evm_address)?;
// TODO - commented for tests only
// Self::ensure_valid_fusion_origin(who, evm_address)?;
let _ = Self::ensure_valid_fusion_origin(who, evm_address);
}

let slash_destination = SlashDestination::<T>::get();
Expand Down

0 comments on commit f25d213

Please sign in to comment.