mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-13 06:07:06 +00:00
add note on usage of twox hash (#13089)
This commit is contained in:
1 parent
d72f6176bc
commit
8f7971dca7
3 files changed
+12
No files matched your search
@@ -147,6 +147,8 @@ pub mod pallet {
|
||||
/// The map of all accounts wishing to be unstaked.
|
||||
///
|
||||
/// Keeps track of `AccountId` wishing to unstake and it's corresponding deposit.
|
||||
///
|
||||
/// TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
||||
#[pallet::storage]
|
||||
pub type Queue<T: Config> = CountedStorageMap<_, Twox64Concat, T::AccountId, BalanceOf<T>>;
|
||||
|
||||
|
||||
Reference in new issue
Block a user