mirror of
https://github.com/status-im/status-keycard.git
synced 2025-01-13 07:14:11 +00:00
Merge pull request #35 from gravityblast/patch-1
fix application status response length
This commit is contained in:
commit
734347a093
@ -471,7 +471,7 @@ public class KeycardApplet extends Applet {
|
||||
*/
|
||||
private short getApplicationStatus(byte[] apduBuffer, short off) {
|
||||
apduBuffer[off++] = TLV_APPLICATION_STATUS_TEMPLATE;
|
||||
apduBuffer[off++] = 12;
|
||||
apduBuffer[off++] = 9;
|
||||
apduBuffer[off++] = TLV_INT;
|
||||
apduBuffer[off++] = 1;
|
||||
apduBuffer[off++] = pin.getTriesRemaining();
|
||||
|
Loading…
x
Reference in New Issue
Block a user