Skip to content
Snippets Groups Projects
Commit af2f0b9c authored by Hugo Trentesaux's avatar Hugo Trentesaux
Browse files

fix same typo

parent 93577a1b
Branches
Tags
1 merge request!112Replace bool by Result<(), dispatchError> for checks
Pipeline #17643 passed
...@@ -108,7 +108,7 @@ pub mod pallet { ...@@ -108,7 +108,7 @@ pub mod pallet {
/// Not enough received certifications to create identity /// Not enough received certifications to create identity
NotEnoughReceivedCertsToCreateIdty, NotEnoughReceivedCertsToCreateIdty,
/// Max number of emitted certs reached /// Max number of emitted certs reached
MaxEmitedCertsReached, MaxEmittedCertsReached,
/// Not allowed to change identity address /// Not allowed to change identity address
NotAllowedToChangeIdtyAddress, NotAllowedToChangeIdtyAddress,
/// Not allowed to remove identity /// Not allowed to remove identity
...@@ -137,7 +137,7 @@ where ...@@ -137,7 +137,7 @@ where
); );
ensure!( ensure!(
cert_meta.issued_count < T::MaxByIssuer::get(), cert_meta.issued_count < T::MaxByIssuer::get(),
Error::<T, I>::MaxEmitedCertsReached Error::<T, I>::MaxEmittedCertsReached
); );
ensure!( ensure!(
cert_meta.next_issuable_on <= frame_system::pallet::Pallet::<T>::block_number(), cert_meta.next_issuable_on <= frame_system::pallet::Pallet::<T>::block_number(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment