Migrate journals as well
This commit is contained in:
parent
5cb70a2f42
commit
2aea867cee
|
@ -232,6 +232,10 @@ func (b *GethStatusBackend) ensureAppDBOpened(account multiaccounts.Account, pas
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// rename journals as well, but ignore errors
|
||||
_ = os.Rename(oldPath+"-shm", newPath+"-shm")
|
||||
_ = os.Rename(oldPath+"-wal", newPath+"-wal")
|
||||
}
|
||||
|
||||
b.appDB, err = appdatabase.InitializeDB(newPath, password)
|
||||
|
|
Loading…
Reference in New Issue