Skip to content

Commit

Permalink
replace operating mode
Browse files Browse the repository at this point in the history
  • Loading branch information
claravanstaden committed Jan 28, 2025
1 parent bec9f2c commit 687e45e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridges/snowbridge/pallets/inbound-queue-v2/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ pub mod pallet {
#[pallet::weight(T::WeightInfo::submit())]
pub fn submit(origin: OriginFor<T>, message: Message) -> DispatchResult {
let who = ensure_signed(origin.clone())?;
ensure!(!Self::operating_mode().is_halted(), Error::<T>::Halted);
ensure!(!OperatingMode::<T>::get().is_halted(), Error::<T>::Halted);

// submit message to verifier for verification
T::Verifier::verify(&message.event_log, &message.proof)
Expand Down

0 comments on commit 687e45e

Please sign in to comment.