mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-18 16:54:39 +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;
|
var path = accountsDir + filename;
|
||||||
else
|
else
|
||||||
var path = directory + filename + "/" + filename;
|
var path = directory + filename + "/" + filename;
|
||||||
|
var path2 = directory + filename;
|
||||||
|
|
||||||
if (walletManager.walletExists(path))
|
if (walletManager.walletExists(path) || walletManager.walletExists(path2))
|
||||||
return true;
|
return true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue