mirror of
https://github.com/status-im/status-go.git
synced 2025-02-17 17:28:38 +00:00
[#4087] Omit history scanning on generated multiacc creation on desktop client
This commit is contained in:
parent
e3a8f5630a
commit
1a6c421cad
@ -351,6 +351,11 @@ func SaveAccountAndLogin(accountData, password, settingsJSON, configJSON, subacc
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return makeJSONResponse(err)
|
return makeJSONResponse(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if settings.Mnemonic != "" {
|
||||||
|
settings.OmitTransfersHistoryScan = true
|
||||||
|
}
|
||||||
|
|
||||||
var conf params.NodeConfig
|
var conf params.NodeConfig
|
||||||
err = json.Unmarshal([]byte(configJSON), &conf)
|
err = json.Unmarshal([]byte(configJSON), &conf)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user