From 290fbabb54f0a334db15b66c968c9311122817e7 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Wed, 7 Oct 2020 12:31:01 +0200 Subject: [PATCH] add cobo vault --- .../java/com/sparrowwallet/drongo/wallet/WalletModel.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/sparrowwallet/drongo/wallet/WalletModel.java b/src/main/java/com/sparrowwallet/drongo/wallet/WalletModel.java index 242d320..c7dfbb3 100644 --- a/src/main/java/com/sparrowwallet/drongo/wallet/WalletModel.java +++ b/src/main/java/com/sparrowwallet/drongo/wallet/WalletModel.java @@ -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(); }