mirror of
https://github.com/status-im/react-native-status-keycard.git
synced 2025-02-28 12:00:36 +00:00
better error checking on verifyPIN
This commit is contained in:
parent
8fd1534891
commit
9c09588b8b
@ -282,7 +282,7 @@ class SmartCard {
|
||||
|
||||
func authenticatedCommandSet(channel: CardChannel, pairingBase64: String, pin: String) throws -> KeycardCommandSet {
|
||||
let cmdSet = try securedCommandSet(channel: channel, pairingBase64: pairingBase64)
|
||||
try cmdSet.verifyPIN(pin: pin).checkOK()
|
||||
try cmdSet.verifyPIN(pin: pin).checkAuthOK()
|
||||
os_log("pin verified")
|
||||
|
||||
return cmdSet;
|
||||
|
Loading…
x
Reference in New Issue
Block a user