From 74a73b2e58c78890b22b933cb2aaf681c20ed11c Mon Sep 17 00:00:00 2001
From: cgeek <cem.moreau@gmail.com>
Date: Thu, 17 Aug 2023 19:09:00 +0200
Subject: [PATCH] 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