add ledger nano s plus wallet model

This commit is contained in:
Craig Raw 2022-05-24 10:44:05 +02:00
parent 0f2cf9c5bb
commit 8aa0461d83
2 changed files with 2 additions and 2 deletions

2
drongo

@ -1 +1 @@
Subproject commit 8e50815a3faca8ddc03bf20935ee9ee13b897066 Subproject commit a3ec868b75752b09c6b67c77efd22979bdd7e9b6

View file

@ -72,7 +72,7 @@ public class SpecterDesktop implements WalletImport, WalletExport {
if(walletModel != null) { if(walletModel != null) {
keystore.setWalletModel(walletModel); keystore.setWalletModel(walletModel);
if(walletModel == WalletModel.TREZOR_1 || walletModel == WalletModel.TREZOR_T || walletModel == WalletModel.KEEPKEY || if(walletModel == WalletModel.TREZOR_1 || walletModel == WalletModel.TREZOR_T || walletModel == WalletModel.KEEPKEY ||
walletModel == WalletModel.LEDGER_NANO_S || walletModel == WalletModel.LEDGER_NANO_X || walletModel == WalletModel.LEDGER_NANO_S || walletModel == WalletModel.LEDGER_NANO_X || walletModel == WalletModel.LEDGER_NANO_S_PLUS ||
walletModel == WalletModel.BITBOX_02 || walletModel == WalletModel.COLDCARD) { walletModel == WalletModel.BITBOX_02 || walletModel == WalletModel.COLDCARD) {
keystore.setSource(KeystoreSource.HW_USB); keystore.setSource(KeystoreSource.HW_USB);
} else if(walletModel == WalletModel.BITCOIN_CORE) { } else if(walletModel == WalletModel.BITCOIN_CORE) {