mirror of
https://github.com/sparrowwallet/drongo.git
synced 2024-11-02 18:26:43 +00:00
add bitbox02
This commit is contained in:
parent
4b6c477030
commit
661e88447f
1 changed files with 5 additions and 1 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue