Skip to content

Commit

Permalink
fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dangfan committed Jan 17, 2024
1 parent e7db00c commit 36a9173
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example/pcsc_example.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ void main() async {
CtapDevice device = CtapCcid(card);
final ctap = await Ctap2.create(device);
print(ctap.info.versions);
final cp = await ClientPin.create(ctap);
final cp = ClientPin(ctap, pinProtocol: PinProtocolV2());
print(await cp.getPinRetries());
print(await cp.changePin('123456', '1234'));
print(await cp.changePin('123456', '123456'));

await card.disconnect(Disposition.resetCard);
} finally {
Expand Down

0 comments on commit 36a9173

Please sign in to comment.