mirror of
https://github.com/sparrowwallet/drongo.git
synced 2025-11-05 11:56:38 +00:00
add has zero in pin check for onekey classic
This commit is contained in:
parent
056d5f83a6
commit
0ce32e4314
1 changed files with 8 additions and 0 deletions
|
|
@ -109,6 +109,14 @@ public enum WalletModel {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean hasZeroInPin() {
|
||||||
|
if(this == ONEKEY_CLASSIC_1S) {
|
||||||
|
return true;
|
||||||
|
} else {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public boolean requiresSeedInitialization() {
|
public boolean requiresSeedInitialization() {
|
||||||
if(this == SATOCHIP) {
|
if(this == SATOCHIP) {
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue