Skip to content
Snippets Groups Projects
Commit 74a73b2e authored by Cédric Moreau's avatar Cédric Moreau
Browse files

fix(#123): Blake2_128Concat

parent 0728b9df
Branches
Tags
1 merge request!180Resolve "Adopt Blake2_128Concat instead of Blake2_128"
Pipeline #33060 waiting for manual action
...@@ -188,12 +188,13 @@ pub mod pallet { ...@@ -188,12 +188,13 @@ pub mod pallet {
#[pallet::storage] #[pallet::storage]
#[pallet::getter(fn identity_index_of)] #[pallet::getter(fn identity_index_of)]
pub type IdentityIndexOf<T: Config> = pub type IdentityIndexOf<T: Config> =
StorageMap<_, Blake2_128, T::AccountId, T::IdtyIndex, OptionQuery>; StorageMap<_, Blake2_128Concat, T::AccountId, T::IdtyIndex, OptionQuery>;
/// maps identity name to null type (simply a set) /// maps identity name to null type (simply a set)
#[pallet::storage] #[pallet::storage]
#[pallet::getter(fn identity_by_did)] #[pallet::getter(fn identity_by_did)]
pub type IdentitiesNames<T: Config> = StorageMap<_, Blake2_128, IdtyName, (), OptionQuery>; pub type IdentitiesNames<T: Config> =
StorageMap<_, Blake2_128Concat, IdtyName, (), OptionQuery>;
/// counter of the identity index to give to the next identity /// counter of the identity index to give to the next identity
#[pallet::storage] #[pallet::storage]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment