chore: fix all linting (#24101)
This commit is contained in:
+4
-4
@@ -82,8 +82,8 @@ func (a *App) RegisterModules(modules ...module.AppModule) error {
|
||||
|
||||
if module, ok := appModule.(module.HasServices); ok {
|
||||
module.RegisterServices(a.configurator)
|
||||
} else if module, ok := appModule.(appmodule.HasServices); ok {
|
||||
if err := module.RegisterServices(a.configurator); err != nil {
|
||||
} else if innerMod, ok := appModule.(appmodule.HasServices); ok {
|
||||
if err := innerMod.RegisterServices(a.configurator); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
@@ -178,12 +178,12 @@ func (a *App) EndBlocker(ctx sdk.Context) (sdk.EndBlock, error) {
|
||||
|
||||
// Precommiter application updates every commit
|
||||
func (a *App) Precommiter(ctx sdk.Context) {
|
||||
a.ModuleManager.Precommit(ctx)
|
||||
_ = a.ModuleManager.Precommit(ctx)
|
||||
}
|
||||
|
||||
// PrepareCheckStater application updates every commit
|
||||
func (a *App) PrepareCheckStater(ctx sdk.Context) {
|
||||
a.ModuleManager.PrepareCheckState(ctx)
|
||||
_ = a.ModuleManager.PrepareCheckState(ctx)
|
||||
}
|
||||
|
||||
// InitChainer initializes the chain.
|
||||
|
||||
Reference in New Issue
Block a user