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

use index provided in GenesisIdty

parent a3d3844f
No related branches found
No related tags found
No related merge requests found
Pipeline #32658 failed
This commit is part of merge request !176. Comments created here will be created in the context of that merge request.
This diff is collapsed.
......@@ -157,7 +157,7 @@ pub mod pallet {
identities.sort_unstable_by(|a, b| a.index.cmp(&b.index));
for idty in identities.into_iter() {
let idty_index = Pallet::<T>::get_next_idty_index();
let idty_index = idty.index;
if idty.value.removable_on > T::BlockNumber::zero() {
<IdentitiesRemovableOn<T>>::append(
idty.value.removable_on,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment