add note on usage of twox hash (#13089)

This commit is contained in:
Ankan authored and GitHub committed 2023-01-09 08:33:29 +01:00
1 parent d72f6176bc
commit 8f7971dca7
3 files changed
+12

No files matched your search

@@ -1277,6 +1277,8 @@ pub mod pallet {
pub type MaxPoolMembersPerPool<T: Config> = StorageValue<_, u32, OptionQuery>;
/// Active members.
///
/// TWOX-NOTE: SAFE since `AccountId` is a secure hash.
#[pallet::storage]
pub type PoolMembers<T: Config> =
CountedStorageMap<_, Twox64Concat, T::AccountId, PoolMember<T>>;