From 91fd84715f26bb73b074501e429381a8a077ab24 Mon Sep 17 00:00:00 2001 From: cgeek <cem.moreau@gmail.com> Date: Fri, 11 Aug 2023 13:30:54 +0200 Subject: [PATCH] tmp: fix(#123): Blake2_128Concat --- pallets/identity/src/lib.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pallets/identity/src/lib.rs b/pallets/identity/src/lib.rs index 06514db71..7ead24e14 100644 --- a/pallets/identity/src/lib.rs +++ b/pallets/identity/src/lib.rs @@ -188,12 +188,13 @@ pub mod pallet { #[pallet::storage] #[pallet::getter(fn identity_index_of)] 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) #[pallet::storage] #[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 #[pallet::storage] -- GitLab