mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 17:01:09 +00:00
Modify doublemap syntax (#4576)
* modify doublemap syntax * Apply suggestions from code review Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
@@ -492,10 +492,10 @@ decl_storage! {
|
||||
}): map T::AssetId => T::Balance;
|
||||
|
||||
/// The free balance of a given asset under an account.
|
||||
pub FreeBalance: double_map T::AssetId, twox_128(T::AccountId) => T::Balance;
|
||||
pub FreeBalance: double_map T::AssetId, hasher(twox_128) T::AccountId => T::Balance;
|
||||
|
||||
/// The reserved balance of a given asset under an account.
|
||||
pub ReservedBalance: double_map T::AssetId, twox_128(T::AccountId) => T::Balance;
|
||||
pub ReservedBalance: double_map T::AssetId, hasher(twox_128) T::AccountId => T::Balance;
|
||||
|
||||
/// Next available ID for user-created asset.
|
||||
pub NextAssetId get(fn next_asset_id) config(): T::AssetId;
|
||||
|
||||
Reference in New Issue
Block a user