Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: peg <[email protected]>
  • Loading branch information
JesseAbram and ameba23 authored Jul 25, 2024
1 parent 21ada12 commit 4a1d936
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pallets/staking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ pub mod pallet {
}

#[derive(Clone, Encode, Decode, Eq, PartialEq, RuntimeDebug, TypeInfo, Default)]
pub struct ResharehInfo<BlockNumber> {
pub struct ReshareInfo<BlockNumber> {
pub new_signer: Vec<u8>,
pub block_number: BlockNumber,
}
Expand Down Expand Up @@ -178,7 +178,7 @@ pub mod pallet {
/// The next time a reshare should happen
#[pallet::storage]
#[pallet::getter(fn reshare_data)]
pub type ReshareData<T: Config> = StorageValue<_, ResharehInfo<BlockNumberFor<T>>, ValueQuery>;
pub type ReshareData<T: Config> = StorageValue<_, ReshareInfo<BlockNumberFor<T>>, ValueQuery>;

/// A type used to simplify the genesis configuration definition.
pub type ThresholdServersConfig<T> = (
Expand Down

0 comments on commit 4a1d936

Please sign in to comment.