Skip to content

Commit

Permalink
Update genesis.go (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
czarcas7ic authored Oct 4, 2022
1 parent f09814c commit c191a80
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x/auth/types/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ func NewGenesisState(params Params, accounts GenesisAccounts) *GenesisState {
func (g GenesisState) UnpackInterfaces(unpacker types.AnyUnpacker) error {
for _, any := range g.Accounts {
var account GenesisAccount
if any.TypeUrl == "/ibc.applications.interchain_accounts.v1.InterchainAccount" {
continue
}
err := unpacker.UnpackAny(any, &account)
if err != nil {
return err
Expand Down

0 comments on commit c191a80

Please sign in to comment.