add bitbox02

This commit is contained in:
Craig Raw 2020-10-08 11:24:59 +02:00
parent 4b6c477030
commit 661e88447f

View file

@ -1,7 +1,7 @@
package com.sparrowwallet.drongo.wallet;
public enum WalletModel {
SEED, SPARROW, BITCOIN_CORE, ELECTRUM, TREZOR_1, TREZOR_T, COLDCARD, LEDGER_NANO_S, LEDGER_NANO_X, DIGITALBITBOX_01, KEEPKEY, SPECTER, COBO_VAULT;
SEED, SPARROW, BITCOIN_CORE, ELECTRUM, TREZOR_1, TREZOR_T, COLDCARD, LEDGER_NANO_S, LEDGER_NANO_X, DIGITALBITBOX_01, KEEPKEY, SPECTER, COBO_VAULT, BITBOX_02;
public static WalletModel getModel(String model) {
return valueOf(model.toUpperCase());
@ -20,6 +20,10 @@ public enum WalletModel {
return "digitalbitbox";
}
if(this == BITBOX_02) {
return "bitbox02";
}
if(this == COBO_VAULT) {
return "cobovault";
}