From 772a29239744d89d64e388cd1c76f012cec1a5c1 Mon Sep 17 00:00:00 2001 From: librelois <c@elo.tf> Date: Sun, 23 Jan 2022 14:13:50 +0100 Subject: [PATCH] opti(cert): Twox64 hashing is sufficient for item CertsByReceiver --- pallets/certification/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/certification/src/lib.rs b/pallets/certification/src/lib.rs index b64aebf22..82571189f 100644 --- a/pallets/certification/src/lib.rs +++ b/pallets/certification/src/lib.rs @@ -221,7 +221,7 @@ pub mod pallet { #[pallet::storage] #[pallet::getter(fn certs_by_receiver)] pub type StorageCertsByReceiver<T: Config<I>, I: 'static = ()> = - StorageMap<_, Blake2_128Concat, T::IdtyIndex, Vec<T::IdtyIndex>, ValueQuery>; + StorageMap<_, Twox64Concat, T::IdtyIndex, Vec<T::IdtyIndex>, ValueQuery>; /// Certifications removable on #[pallet::storage] -- GitLab