fix(accounts): fix windows path on re-encryption (#3412)
This commit is contained in:
parent
9dea0aaee3
commit
1fe4a898b6
|
@ -579,6 +579,7 @@ func (m *Manager) ReEncryptKeyStoreDir(keyDirPath, oldPass, newPass string) erro
|
|||
}
|
||||
|
||||
keyDirPath = strings.TrimSuffix(keyDirPath, "/")
|
||||
keyDirPath = strings.TrimSuffix(keyDirPath, "\\")
|
||||
keyParent, keyDirName := filepath.Split(keyDirPath)
|
||||
|
||||
// backupKeyDirName used to store existing keys before final write
|
||||
|
|
Loading…
Reference in New Issue