Skip to content

Commit

Permalink
fix(exportPrivateKey): delete unesed offset
Browse files Browse the repository at this point in the history
  • Loading branch information
keiff3r committed Dec 10, 2024
1 parent 0282a13 commit b36a6b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exportPrivateKey.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ void handleExportPrivateKey(uint8_t *dataBuffer,

memmove(ctx->display + offset, " ID#", 4);
offset += 4;
offset += bin2dec(ctx->display + offset, sizeof(ctx->display) - offset, identity);
bin2dec(ctx->display + offset, sizeof(ctx->display) - offset, identity);

if (p1 == P1_BOTH) {
memmove(ctx->displayHeader, "Create credential", 18);
Expand Down

0 comments on commit b36a6b0

Please sign in to comment.