Skip to content

Commit 61608ab

Browse files
committed
Remove unnecessary ui_idle()
1 parent 83e3378 commit 61608ab

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src_features/signAuthorizationEIP7702/ui_common_7702.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,9 @@ unsigned int auth_7702_ok_cb(void) {
2121
} else {
2222
G_io_apdu_buffer[0] = 0;
2323
}
24-
ui_idle();
25-
return io_seproxyhal_send_status(APDU_RESPONSE_OK, 65, false, false);
24+
return io_seproxyhal_send_status(APDU_RESPONSE_OK, 65, false, true);
2625
}
2726

2827
unsigned int auth_7702_cancel_cb(void) {
29-
ui_idle();
30-
return io_seproxyhal_send_status(APDU_RESPONSE_CONDITION_NOT_SATISFIED, 0, true, false);
28+
return io_seproxyhal_send_status(APDU_RESPONSE_CONDITION_NOT_SATISFIED, 0, true, true);
3129
}

0 commit comments

Comments
 (0)