Implement set_payee call

This commit is contained in:
Demi M. Obenour
2020-05-31 17:07:23 -04:00
parent 49b3b1e820
commit 3314ea1dcb
+7 -4
View File
@@ -85,10 +85,13 @@ pub enum RewardDestination {
Controller,
}
impl Default for RewardDestination {
fn default() -> Self {
RewardDestination::Staked
}
/// Preference of what happens regarding validation.
#[derive(PartialEq, Eq, Clone, Encode, Decode, Debug, Call)]
pub struct SetPayeeCall<T: Staking> {
/// The payee
pub payee: Perbill,
/// Marker for the runtime
pub _runtime: PhantomData<T>,
}
/// Preference of what happens regarding validation.