referrerpolicy=no-referrer-when-downgrade

Function pallet_sudo::pallet::dispatchables::set_key

source ·
pub fn set_key<T: Config>(new: <<T as Config>::Lookup as StaticLookup>::Source)
Expand description

Authenticates the current sudo key and sets the given AccountId (new) as the new sudo key.

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::set_key.