From e9d5da01a2055b13be363999eb8ec9cfac2fcabc Mon Sep 17 00:00:00 2001 From: Konstantin Ullrich Date: Tue, 17 Sep 2024 14:42:35 +0200 Subject: [PATCH] Upgrading to Ledger Flutter Plus --- lib/bitcoin_cash/cw_bitcoin_cash.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bitcoin_cash/cw_bitcoin_cash.dart b/lib/bitcoin_cash/cw_bitcoin_cash.dart index f9c7ae027..f06a23a90 100644 --- a/lib/bitcoin_cash/cw_bitcoin_cash.dart +++ b/lib/bitcoin_cash/cw_bitcoin_cash.dart @@ -49,7 +49,7 @@ class CWBitcoinCash extends BitcoinCash { @override Future> 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) {