mirror of
https://github.com/sparrowwallet/drongo.git
synced 2024-12-26 18:16:45 +00:00
add cobo vault
This commit is contained in:
parent
3642ddc958
commit
290fbabb54
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;
|
||||
SEED, SPARROW, BITCOIN_CORE, ELECTRUM, TREZOR_1, TREZOR_T, COLDCARD, LEDGER_NANO_S, LEDGER_NANO_X, DIGITALBITBOX_01, KEEPKEY, SPECTER, COBO_VAULT;
|
||||
|
||||
public static WalletModel getModel(String model) {
|
||||
return valueOf(model.toUpperCase());
|
||||
|
@ -20,6 +20,10 @@ public enum WalletModel {
|
|||
return "digitalbitbox";
|
||||
}
|
||||
|
||||
if(this == COBO_VAULT) {
|
||||
return "cobovault";
|
||||
}
|
||||
|
||||
return this.toString().toLowerCase();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue