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, Controller,
} }
impl Default for RewardDestination { /// Preference of what happens regarding validation.
fn default() -> Self { #[derive(PartialEq, Eq, Clone, Encode, Decode, Debug, Call)]
RewardDestination::Staked pub struct SetPayeeCall<T: Staking> {
} /// The payee
pub payee: Perbill,
/// Marker for the runtime
pub _runtime: PhantomData<T>,
} }
/// Preference of what happens regarding validation. /// Preference of what happens regarding validation.