Function pallet_staking::dispatchables::update_payee
source · pub fn update_payee<T: Config>(controller: T::AccountId)
Expand description
Migrates an account’s RewardDestination::Controller
to
RewardDestination::Account(controller)
.
Effects will be felt instantly (as soon as this function is completed successfully).
This will waive the transaction fee if the payee
is successfully migrated.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::update_payee
.