diff --git a/src/frame/staking.rs b/src/frame/staking.rs index 3fad2a0e2e..7f213154d5 100644 --- a/src/frame/staking.rs +++ b/src/frame/staking.rs @@ -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 { + /// The payee + pub payee: Perbill, + /// Marker for the runtime + pub _runtime: PhantomData, } /// Preference of what happens regarding validation.