Skip to content

Commit

Permalink
follow signing guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
chris124567 committed Dec 29, 2023
1 parent 7123e99 commit ec73490
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/calcTxnHash_nbgl.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,7 @@ static bool nav_callback(uint8_t page, nbgl_pageContent_t *content) {
content->type = INFO_LONG_PRESS;
content->infoLongPress.icon = &C_stax_app_sia;
if (ctx->sign) {
memmove(ctx->fullStr[0], "Sign transaction ", 17);
memmove(ctx->fullStr[0] + 17, "with key #", 10);
memmove(ctx->fullStr[0] + 17 + 10 + (bin2dec(ctx->fullStr[0] + 17 + 10, ctx->keyIndex)), "?", 2);

content->infoLongPress.text = ctx->fullStr[0];
content->infoLongPress.text = "Sign transaction";
content->infoLongPress.longPressText = "Hold to sign";
} else {
content->infoLongPress.text = "Hash transaction";
Expand Down
Binary file modified tests/snapshots/stax/test_sign_tx_accept/00003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ec73490

Please sign in to comment.