fix: process backup messages when recovering account from seed phrase (#3850)

This commit is contained in:
frank 2023-08-08 16:01:21 +08:00 committed by GitHub
parent 7560540392
commit 57e64122a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -1 +1 @@
0.163.1
0.163.2

View File

@ -1095,6 +1095,9 @@ func (b *GethStatusBackend) generateOrImportAccount(mnemonic string, customizati
if err != nil {
return err
}
if mnemonic != "" {
nodeConfig.ProcessBackedupMessages = true
}
// when we set nodeConfig.KeyStoreDir, value of nodeConfig.KeyStoreDir should not contain the rootDataDir
// loadNodeConfig will add rootDataDir to nodeConfig.KeyStoreDir