Skip to content

Commit 8f5d17d

Browse files
committed
close on restore for all ExternalWallet instances
1 parent a40fdfe commit 8f5d17d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/pages/add_wallet_views/restore_wallet_view/restore_wallet_view.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ import '../../../wallets/isar/models/wallet_info.dart';
5050
import '../../../wallets/wallet/impl/epiccash_wallet.dart';
5151
import '../../../wallets/wallet/impl/monero_wallet.dart';
5252
import '../../../wallets/wallet/impl/wownero_wallet.dart';
53-
import '../../../wallets/wallet/intermediate/lib_monero_wallet.dart';
53+
import '../../../wallets/wallet/intermediate/external_wallet.dart';
5454
import '../../../wallets/wallet/impl/xelis_wallet.dart';
5555
import '../../../wallets/wallet/supporting/epiccash_wallet_info_extension.dart';
5656
import '../../../wallets/wallet/wallet.dart';
@@ -391,7 +391,7 @@ class _RestoreWalletViewState extends ConsumerState<RestoreWalletView> {
391391

392392
await wallet.recover(isRescan: false);
393393

394-
if (wallet is LibMoneroWallet) {
394+
if (wallet is ExternalWallet) {
395395
await wallet.exit();
396396
}
397397

0 commit comments

Comments
 (0)