From d20a10dee3056f46d59d635ce366b01c6a1639bb Mon Sep 17 00:00:00 2001
From: Dominique <dsaripapazoglou@gmail.com>
Date: Mon, 11 Apr 2022 10:36:13 +0200
Subject: [PATCH] Updated docs for method `set_payee` & `set_controller`
 (#11192)

* Updated docs for method 'set_payee'

* Updated docs for method 'set_controller'
---
 substrate/frame/staking/src/pallet/mod.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/substrate/frame/staking/src/pallet/mod.rs b/substrate/frame/staking/src/pallet/mod.rs
index fa8c453c2b0..498d8616609 100644
--- a/substrate/frame/staking/src/pallet/mod.rs
+++ b/substrate/frame/staking/src/pallet/mod.rs
@@ -1109,7 +1109,7 @@ pub mod pallet {
 
 		/// (Re-)set the payment target for a controller.
 		///
-		/// Effects will be felt at the beginning of the next era.
+		/// Effects will be felt instantly (as soon as this function is completed successfully).
 		///
 		/// The dispatch origin for this call must be _Signed_ by the controller, not the stash.
 		///
@@ -1137,7 +1137,7 @@ pub mod pallet {
 
 		/// (Re-)set the controller of a stash.
 		///
-		/// Effects will be felt at the beginning of the next era.
+		/// 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.
 		///
-- 
GitLab