Make PIN verification failure a StatusWord case
Retry count is now u8, as it cannot exceed 16 (being returned in the lower half of SW2).
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@ pub enum Error {
|
||||
/// Wrong PIN
|
||||
WrongPin {
|
||||
/// Number of tries remaining
|
||||
tries: u32,
|
||||
tries: u8,
|
||||
},
|
||||
|
||||
/// Invalid object
|
||||
|
||||
Reference in New Issue
Block a user