initial remove wownero (#3180)

This commit is contained in:
cyan
2026-04-14 12:40:21 +02:00
committed by GitHub
parent c338c6d6b8
commit 0679dbf547
4 changed files with 9 additions and 2 deletions
+4 -1
View File
@@ -136,7 +136,10 @@ class WowneroWalletService extends WalletService<
if (walletInfo == null) {
throw Exception('Wallet not found');
}
wallet = WowneroWallet(walletInfo: walletInfo, derivationInfo: await walletInfo.getDerivationInfo(), unspentCoinsInfo: unspentCoinsInfoSource, password: password);
throw Exception(wallet.seed);
final isValid = wallet.walletAddresses.validate();
if (!isValid) {
@@ -146,9 +149,9 @@ class WowneroWalletService extends WalletService<
}
await wallet.init();
return wallet;
} catch (e, s) {
rethrow;
// TODO: Implement Exception for wallet list service.
final bool isBadAlloc = e.toString().contains('bad_alloc') ||
+1
View File
@@ -72,6 +72,7 @@ class WalletLoadingService {
return wallet;
} catch (error, stack) {
if (type == WalletType.wownero) rethrow;
await ExceptionHandler.resetLastPopupDate();
final isLedgerError = await ExceptionHandler.isLedgerError(error);
if (isLedgerError || await requireHardwareWalletConnection(type, name)) rethrow;
@@ -615,6 +615,9 @@ Future<void> defaultSettingsMigration(
case 63:
await _addXaut0TokenToExistingSolanaWallets();
break;
case 64:
await _backupWowneroSeeds(havenSeedStore);
break;
default:
break;
}
+1 -1
View File
@@ -324,7 +324,7 @@ Future<void> initializeAppConfigs({bool loadWallet = true}) async {
payjoinSessionSource: payjoinSessionSource,
anonpayInvoiceInfo: anonpayInvoiceInfo,
havenSeedStore: havenSeedStore,
initialMigrationVersion: 63,
initialMigrationVersion: 64,
);
}