Function pallet_safe_mode::pallet::dispatchables::force_enter
source · pub fn force_enter<T: Config>()
Expand description
Enter safe-mode by force for a per-origin configured number of blocks.
Emits an Event::Entered
event on success.
Errors with Error::Entered
if the safe-mode is already entered.
Can only be called by the Config::ForceEnterOrigin
origin.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::force_enter
.