fix: wallet file checking
This commit is contained in:
parent
2da14d64b3
commit
7a4aba4869
2 changed files with 3 additions and 4 deletions
|
|
@ -42,8 +42,7 @@ function handleError (error) {
|
|||
{
|
||||
if (
|
||||
fs.existsSync(path.resolve(walletDir, 'Wallet')) &&
|
||||
fs.existsSync(path.resolve(walletDir, 'Wallet.keys')) &&
|
||||
fs.existsSync(path.resolve(walletDir, 'Wallet.address.txt'))
|
||||
fs.existsSync(path.resolve(walletDir, 'Wallet.keys'))
|
||||
) {
|
||||
logger.debug('Found wallet! Opening wallet...')
|
||||
return openWallet()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue