This commit is contained in:
Liang Ding 2022-11-17 23:27:21 +08:00
parent c2c0794e48
commit daa7fc6300
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -57,6 +57,10 @@ func init() {
}
func InitDatabase(forceRebuild bool) (err error) {
ClearBlockCache()
DisableCache()
defer EnableCache()
util.IncBootProgress(2, "Initializing database...")
if forceRebuild {