mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-31 16:09:26 +00:00
wizardWalletInput: check wallet exists in wallet dir
This commit is contained in:
parent
b7ba9437d8
commit
07a2369a26
1 changed files with 2 additions and 1 deletions
|
@ -76,8 +76,9 @@ function walletPathExists(accountsDir, directory, filename, isIOS, walletManager
|
|||
var path = accountsDir + filename;
|
||||
else
|
||||
var path = directory + filename + "/" + filename;
|
||||
var path2 = directory + filename;
|
||||
|
||||
if (walletManager.walletExists(path))
|
||||
if (walletManager.walletExists(path) || walletManager.walletExists(path2))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue