Fix documentation set_controller (#3340)

The documentation for the `set_controller` function was copied from the function above it, however it does not do the same thing. Fixed the documentation to fit the correct description of what `set_controller` does.
This commit is contained in:
Logan Saether
2019-08-08 15:08:14 +02:00
committed by Gavin Wood
parent b0e1212d48
commit fe18b4055d
+1 -1
View File
@@ -952,7 +952,7 @@ decl_module! {
<Payee<T>>::insert(stash, payee);
}
/// (Re-)set the payment target for a controller.
/// (Re-)set the controller of a stash.
///
/// Effects will be felt at the beginning of the next era.
///