Skip to content

Commit

Permalink
Fix account insert key (#139)
Browse files Browse the repository at this point in the history
* Fix account insert bug

* Code clean

* Delete empty line
  • Loading branch information
boundless-forest authored Dec 20, 2022
1 parent b161ead commit 4187b7b
Show file tree
Hide file tree
Showing 5 changed files with 2,507 additions and 175 deletions.
2 changes: 1 addition & 1 deletion pallet/account-migration/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ pub mod pallet {
#[pallet::storage]
#[pallet::getter(fn account_of)]
pub type Accounts<T: Config> =
StorageMap<_, Identity, AccountId32, AccountInfo<Index, AccountData<Balance>>>;
StorageMap<_, Blake2_128Concat, AccountId32, AccountInfo<Index, AccountData<Balance>>>;

/// [`pallet_vesting::Vesting`] data.
///
Expand Down
Loading

0 comments on commit 4187b7b

Please sign in to comment.