From e891ce5f2f7a31ecf84f29ab31c89977f1b530ed Mon Sep 17 00:00:00 2001 From: Francois Beutin Date: Thu, 9 Feb 2023 13:44:26 +0100 Subject: [PATCH] Review --- src/signMessage.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/signMessage.c b/src/signMessage.c index c9411e1c..32c83591 100644 --- a/src/signMessage.c +++ b/src/signMessage.c @@ -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 {