fix(types): check for HasABCIGenesis in CoreAppModuleBasicAdaptor (#19709)
This commit is contained in:
@@ -109,6 +109,10 @@ func (c coreAppModuleBasicAdaptor) ExportGenesis(ctx sdk.Context, cdc codec.JSON
|
||||
return mod.ExportGenesis(ctx, cdc)
|
||||
}
|
||||
|
||||
if mod, ok := c.module.(HasABCIGenesis); ok {
|
||||
return mod.ExportGenesis(ctx, cdc)
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user