add trezor safe 3 wallet model

This commit is contained in:
Craig Raw 2024-01-30 09:34:53 +02:00
parent 4279884591
commit d255913654

View file

@ -5,14 +5,14 @@ import java.util.Locale;
public enum WalletModel {
SEED, SPARROW, BITCOIN_CORE, ELECTRUM, TREZOR_1, TREZOR_T, COLDCARD, LEDGER_NANO_S, LEDGER_NANO_X, DIGITALBITBOX_01, KEEPKEY, SPECTER_DESKTOP, COBO_VAULT,
BITBOX_02, SPECTER_DIY, PASSPORT, BLUE_WALLET, KEYSTONE, SEEDSIGNER, CARAVAN, GORDIAN_SEED_TOOL, JADE, LEDGER_NANO_S_PLUS, EPS, TAPSIGNER, SATSCARD, LABELS,
BSMS, KRUX, SATOCHIP, TRANSACTIONS, AIRGAP_VAULT;
BSMS, KRUX, SATOCHIP, TRANSACTIONS, AIRGAP_VAULT, TREZOR_SAFE_3;
public static WalletModel getModel(String model) {
return valueOf(model.toUpperCase(Locale.ROOT));
}
public String getType() {
if(this == TREZOR_1 || this == TREZOR_T) {
if(this == TREZOR_1 || this == TREZOR_T || this == TREZOR_SAFE_3) {
return "trezor";
}