Sets the session key(s) of the function caller to keys.
Allows an account to set its session key prior to becoming a validator.
This doesn't take effect until the next session.
The dispatch origin of this function must be signed.
Complexity
O(1). Actual cost depends on the number of length of T::Keys::key_ids() which is
fixed.
Sets the session key(s) of the function caller to
keys
. Allows an account to set its session key prior to becoming a validator. This doesn't take effect until the next session.The dispatch origin of this function must be signed.
Complexity
O(1)
. Actual cost depends on the number of length ofT::Keys::key_ids()
which is fixed.