(Re-)sets the controller of a stash to the stash itself. This function previously
accepted a controller argument to set the controller to an account other than the
stash itself. This functionality has now been removed, now only setting the controller
to the stash, if it is not already.
Effects will be felt instantly (as soon as this function is completed successfully).
The dispatch origin for this call must be Signed by the stash, not the controller.
Complexity
O(1)
Independent of the arguments. Insignificant complexity.
(Re-)sets the controller of a stash to the stash itself. This function previously accepted a
controller
argument to set the controller to an account other than the stash itself. This functionality has now been removed, now only setting the controller to the stash, if it is not already.Effects will be felt instantly (as soon as this function is completed successfully).
The dispatch origin for this call must be Signed by the stash, not the controller.
Complexity
O(1)
origin
account key.