Upgrading to Ledger Flutter Plus

This commit is contained in:
Konstantin Ullrich 2024-09-17 14:42:35 +02:00
parent 1e91aa8f65
commit e9d5da01a2
No known key found for this signature in database
GPG key ID: 6B3199AD9B3D23B8

View file

@ -49,7 +49,7 @@ class CWBitcoinCash extends BitcoinCash {
@override
Future<List<HardwareAccountData>> getHardwareWalletAccounts(LedgerViewModel ledgerVM,
{int index = 0, int limit = 5}) async {
final hardwareWalletService = BitcoinCashHardwareWalletService(ledgerVM.ledger, ledgerVM.device);
final hardwareWalletService = BitcoinCashHardwareWalletService(ledgerVM.connection);
try {
return hardwareWalletService.getAvailableAccounts(index: index, limit: limit);
} on LedgerException catch (err) {