Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
salman01zp committed Nov 14, 2023
1 parent 5d737c2 commit 9fd4dee
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions primitives/src/types/roles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,11 @@ impl From<JobKey> for RoleType {
}
}


/// Role type to be used in the system.
#[derive(Encode, Decode, Clone, Copy, Debug, PartialEq, Eq, TypeInfo)]
pub enum ReStakingOption {
/// Role type to be used in the system.
#[derive(Encode, Decode, Clone, Copy, Debug, PartialEq, Eq, TypeInfo)]
pub enum ReStakingOption {
// Re-stake all the staked funds for selected role.
Full,
// Re-stake only the given amount of funds for selected role.
Custom(u64)
}
Custom(u64),
}

0 comments on commit 9fd4dee

Please sign in to comment.