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

fix same typo

parent 93577a1b
No related branches found
No related tags found
1 merge request!112Replace bool by Result<(), dispatchError> for checks
Pipeline #17643 passed
......@@ -108,7 +108,7 @@ pub mod pallet {
/// Not enough received certifications to create identity
NotEnoughReceivedCertsToCreateIdty,
/// Max number of emitted certs reached
MaxEmitedCertsReached,
MaxEmittedCertsReached,
/// Not allowed to change identity address
NotAllowedToChangeIdtyAddress,
/// Not allowed to remove identity
......@@ -137,7 +137,7 @@ where
);
ensure!(
cert_meta.issued_count < T::MaxByIssuer::get(),
Error::<T, I>::MaxEmitedCertsReached
Error::<T, I>::MaxEmittedCertsReached
);
ensure!(
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