SIGN IN SIGN UP

Fix(eip712): remove redundant reset_app_context() from approve/reject

ui_712_approve() and ui_712_reject() explicitly called reset_app_context()
after the _cb, but io_seproxyhal_send_status(..., true, ...) — which both
_cb functions call — already invokes reset_app_context() synchronously
before the APDU response is sent. The wrappers were therefore double-
resetting the context.

With the extra reset removed, the wrappers become trivial pass-throughs.
Remove them entirely and have ui_typed_message_review_choice() call
ui_712_approve_cb/ui_712_reject_cb directly, matching what the v0 path
already did.

(cherry picked from commit ce9725af35ecb7e7d5943df46c8a8979e8481bd6)
C
Charles-Edouard de la Vergne committed
1e08d85de22405b8aa9b5426d0750f1695ba97f1
Parent: eb01188
Committed by Alexandre Paillier <alexandre.paillier@ledger.fr> on 8/25/2026, 3:25:42 PM