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 <peg@magmacollective.org>
  • Loading branch information
JesseAbram and ameba23 authored Aug 28, 2024
1 parent 4c8e089 commit 8edf952
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pallets/staking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,8 @@ pub mod pallet {
NotNextSigner,
ReshareNotInProgress,
AlreadyConfirmed,
NoUnbodingWhenSigner,
NoUnbodingWhenNextSigner,
NoUnbondingWhenSigner,
NoUnbondingWhenNextSigner,
}

#[pallet::event]
Expand Down Expand Up @@ -399,7 +399,7 @@ pub mod pallet {
Ok(())
}

/// Wraps's substrate unbond but checks to make targeted validator sure not signer or next signe
/// Wraps's substrate unbond but checks to make sure targeted validator is not a signer or next signer
#[pallet::call_index(2)]
#[pallet::weight(<T as Config>::WeightInfo::unbond(MAX_SIGNERS as u32))]
pub fn unbond(
Expand Down

0 comments on commit 8edf952

Please sign in to comment.