mirror of
https://github.com/sparrowwallet/drongo.git
synced 2024-12-26 01:56:44 +00:00
fix keepkey hww
This commit is contained in:
parent
9faacb055c
commit
db8ef9e4a1
1 changed files with 8 additions and 0 deletions
|
@ -23,6 +23,14 @@ public enum WalletModel {
|
|||
return this.toString().toLowerCase();
|
||||
}
|
||||
|
||||
public boolean requiresPinPrompt() {
|
||||
return (this == TREZOR_1 || this == KEEPKEY);
|
||||
}
|
||||
|
||||
public boolean externalPassphraseEntry() {
|
||||
return (this == TREZOR_1 || this == KEEPKEY);
|
||||
}
|
||||
|
||||
public static WalletModel fromType(String type) {
|
||||
for(WalletModel model : values()) {
|
||||
if(model.getType().equalsIgnoreCase(type)) {
|
||||
|
|
Loading…
Reference in a new issue