From 57e64122a8abe7e325043e614770622078b3ccf2 Mon Sep 17 00:00:00 2001 From: frank Date: Tue, 8 Aug 2023 16:01:21 +0800 Subject: [PATCH] fix: process backup messages when recovering account from seed phrase (#3850) --- VERSION | 2 +- api/geth_backend.go | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 12d4126a1..72b23fe38 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.163.1 +0.163.2 diff --git a/api/geth_backend.go b/api/geth_backend.go index 878e363eb..0202bd8bf 100644 --- a/api/geth_backend.go +++ b/api/geth_backend.go @@ -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