Skip to content
Snippets Groups Projects
Commit f6abf659 authored by Éloïs's avatar Éloïs
Browse files

fix(idty): inc sufficients counter for genesis identities

Closes #39
parent 4cada50b
No related branches found
No related tags found
No related merge requests found
......@@ -141,6 +141,7 @@ pub mod pallet {
(idty_index, idty.value.status),
)
}
frame_system::Pallet::<T>::inc_sufficients(&idty.value.owner_key);
<Identities<T>>::insert(idty_index, idty.value.clone());
IdentitiesNames::<T>::insert(idty.name.clone(), ());
IdentityIndexOf::<T>::insert(idty.value.owner_key, idty_index);
......
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