initial remove wownero (#3180)

cyan committed Apr 14, 2026 at 12:40 UTC 0679dbf547b2ba9a869f047183333c32e8a04ad8
4 files changed +9 -2
cw_wownero/lib/wownero_wallet_service.dart
+4 -1
@@ -136,7 +136,10 @@ class WowneroWalletService extends WalletService<
136 if (walletInfo == null) {
137 throw Exception('Wallet not found');
138 }
139 +
140 wallet = WowneroWallet(walletInfo: walletInfo, derivationInfo: await walletInfo.getDerivationInfo(), unspentCoinsInfo: unspentCoinsInfoSource, password: password);
141 + throw Exception(wallet.seed);
142 +
143 final isValid = wallet.walletAddresses.validate();
144
145 if (!isValid) {
@@ -146,9 +149,9 @@ class WowneroWalletService extends WalletService<
149 }
150
151 await wallet.init();
149 -
152 return wallet;
153 } catch (e, s) {
154 + rethrow;
155 // TODO: Implement Exception for wallet list service.
156
157 final bool isBadAlloc = e.toString().contains('bad_alloc') ||
lib/core/wallet_loading_service.dart
+1
@@ -72,6 +72,7 @@ class WalletLoadingService {
72
73 return wallet;
74 } catch (error, stack) {
75 + if (type == WalletType.wownero) rethrow;
76 await ExceptionHandler.resetLastPopupDate();
77 final isLedgerError = await ExceptionHandler.isLedgerError(error);
78 if (isLedgerError || await requireHardwareWalletConnection(type, name)) rethrow;
lib/entities/default_settings_migration.dart
+3
@@ -615,6 +615,9 @@ Future<void> defaultSettingsMigration(
615 case 63:
616 await _addXaut0TokenToExistingSolanaWallets();
617 break;
618 + case 64:
619 + await _backupWowneroSeeds(havenSeedStore);
620 + break;
621 default:
622 break;
623 }
lib/main.dart
+1 -1
@@ -324,7 +324,7 @@ Future<void> initializeAppConfigs({bool loadWallet = true}) async {
324 payjoinSessionSource: payjoinSessionSource,
325 anonpayInvoiceInfo: anonpayInvoiceInfo,
326 havenSeedStore: havenSeedStore,
327 - initialMigrationVersion: 63,
327 + initialMigrationVersion: 64,
328 );
329 }
330