added backup apis and tests
This commit is contained in:
@@ -1152,4 +1152,8 @@ func (app *BaseApp) registerDefaultHooks() {
|
||||
app.ResetBootstrapState()
|
||||
return nil
|
||||
})
|
||||
|
||||
if err := app.initAutobackupHooks(); err != nil && app.IsDebug() {
|
||||
log.Println(err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user