Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/handle_query_contract_ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ static screens_t get_screen(ethQueryContractUI_t *msg,
return SEND_SCREEN;
} else if (token_received_found) {
return WARN_SCREEN;
} else {
// Unreachable
break;
}
case 1:
if (both_tokens_found) {
Expand All @@ -134,6 +137,9 @@ static screens_t get_screen(ethQueryContractUI_t *msg,
return WARN_SCREEN;
} else if (token_received_found) {
return SEND_SCREEN;
} else {
// Unreachable
break;
}
case 2:
if (both_tokens_found) {
Expand Down