fix: monero wallet opening generic error handling

This commit is contained in:
Sérgio Salgado 2022-07-19 16:08:09 +01:00
parent 3b01820242
commit b112522980

View file

@ -92,7 +92,7 @@ function handleError (error, method) {
function openWallet () {
return fetch('open_wallet', { filename: 'Wallet' })
.catch(err => handleError(err, 'openWallet'))
.catch(() => openWalletWithPassword())
}
function openWalletWithPassword () {