Skip to content

Commit

Permalink
Review
Browse files Browse the repository at this point in the history
  • Loading branch information
fbeutin-ledger committed Feb 9, 2023
1 parent e79f36d commit e891ce5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/signMessage.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ void handle_sign_message_ui(volatile unsigned int *flags) {
if (G_called_from_swap) {
if (G_swap_response_ready) {
// Safety against trying to make the app sign multiple TX
// This code should never be triggered as the app is supposed to exit after
// sending the signed transaction
PRINTF("Safety against double signing triggered\n");
os_sched_exit(-1);
} else {
Expand Down

0 comments on commit e891ce5

Please sign in to comment.