diff --git a/packages/ledger-bitcoin/lib/src/ledger_bitcoin_application.dart b/packages/ledger-bitcoin/lib/src/ledger_bitcoin_application.dart index 926af21..2a6c72f 100644 --- a/packages/ledger-bitcoin/lib/src/ledger_bitcoin_application.dart +++ b/packages/ledger-bitcoin/lib/src/ledger_bitcoin_application.dart @@ -36,7 +36,8 @@ class BitcoinLedgerApp { this.derivationPath = "m/84'/0'/0'/0/0", }); - Future> getAccounts({String? accountsDerivationPath}) async { + Future> getAccounts( + {String? accountsDerivationPath, bool display = false}) async { final bipPath = BIPPath.fromString(accountsDerivationPath ?? derivationPath); final masterFingerprint = await getMasterFingerprint(); @@ -48,7 +49,7 @@ class BitcoinLedgerApp { accountXPub: accountXPub, masterFingerprint: masterFingerprint, descrTempl: "wpkh(@0)", - display: false, + display: display, ); return [addr.toAsciiString()]; }