From 8edf952d0102b555a5ff6900bc6170d4cf78bcff Mon Sep 17 00:00:00 2001 From: JesseAbram <33698952+JesseAbram@users.noreply.github.com> Date: Wed, 28 Aug 2024 07:56:40 -0700 Subject: [PATCH] Apply suggestions from code review Co-authored-by: peg --- pallets/staking/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pallets/staking/src/lib.rs b/pallets/staking/src/lib.rs index 99d7cc174..69726e8bd 100644 --- a/pallets/staking/src/lib.rs +++ b/pallets/staking/src/lib.rs @@ -304,8 +304,8 @@ pub mod pallet { NotNextSigner, ReshareNotInProgress, AlreadyConfirmed, - NoUnbodingWhenSigner, - NoUnbodingWhenNextSigner, + NoUnbondingWhenSigner, + NoUnbondingWhenNextSigner, } #[pallet::event] @@ -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(::WeightInfo::unbond(MAX_SIGNERS as u32))] pub fn unbond(