mirror of
https://github.com/sparrowwallet/drongo.git
synced 2024-12-26 01:56:44 +00:00
add blue wallet
This commit is contained in:
parent
4d61585e4c
commit
44b29b2b7b
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_DESKTOP, COBO_VAULT, BITBOX_02, SPECTER_DIY, PASSPORT;
|
||||
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;
|
||||
|
||||
public static WalletModel getModel(String model) {
|
||||
return valueOf(model.toUpperCase());
|
||||
|
@ -32,6 +32,10 @@ public enum WalletModel {
|
|||
return "specter";
|
||||
}
|
||||
|
||||
if(this == BLUE_WALLET) {
|
||||
return "bluewallet";
|
||||
}
|
||||
|
||||
return this.toString().toLowerCase();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue