mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 08:51:09 +00:00
add note on usage of twox hash (#13089)
This commit is contained in:
@@ -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>>;
|
||||
|
||||
Reference in New Issue
Block a user