[#4087] Omit history scanning on generated multiacc creation on desktop client

This commit is contained in:
Roman Volosovskyi 2023-10-31 13:42:33 +01:00
parent e3a8f5630a
commit 1a6c421cad
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 5 additions and 0 deletions

View File

@ -351,6 +351,11 @@ func SaveAccountAndLogin(accountData, password, settingsJSON, configJSON, subacc
if err != nil {
return makeJSONResponse(err)
}
if settings.Mnemonic != "" {
settings.OmitTransfersHistoryScan = true
}
var conf params.NodeConfig
err = json.Unmarshal([]byte(configJSON), &conf)
if err != nil {