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

opti(cert): Twox64 hashing is sufficient for item CertsByReceiver

parent 275284b8
No related branches found
No related tags found
No related merge requests found
...@@ -221,7 +221,7 @@ pub mod pallet { ...@@ -221,7 +221,7 @@ pub mod pallet {
#[pallet::storage] #[pallet::storage]
#[pallet::getter(fn certs_by_receiver)] #[pallet::getter(fn certs_by_receiver)]
pub type StorageCertsByReceiver<T: Config<I>, I: 'static = ()> = 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 /// Certifications removable on
#[pallet::storage] #[pallet::storage]
......
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