Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
use BuildGenesisConfig instead of deprecated GenesisConfig<T>
Browse files Browse the repository at this point in the history
  • Loading branch information
grw-ms committed Aug 16, 2023
1 parent 55ba65c commit 232fdf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frame/identity/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ pub mod pallet {
}

#[pallet::genesis_build]
impl<T: Config> GenesisBuild<T> for GenesisConfig<T> {
impl<T: Config> BuildGenesisConfig for GenesisConfig<T> {
fn build(&self) {
for (account, name) in &self.identities {
<IdentityOf<T>>::insert(
Expand Down

0 comments on commit 232fdf0

Please sign in to comment.