diff --git a/src/apps/debug/__init__.py b/src/apps/debug/__init__.py index ab21a1415..017c6bcfb 100644 --- a/src/apps/debug/__init__.py +++ b/src/apps/debug/__init__.py @@ -5,8 +5,9 @@ from trezor.messages.wire_types import \ async def dispatch_DebugLinkDecision(msg, session_id): - # TODO: apply button decision from msg.yes_no - pass + from trezor.ui.confirm import CONFIRMED, CANCELLED + from ..common.confirm import future + future.resolve(CONFIRMED if msg.yes_no else CANCELLED) async def dispatch_DebugLinkGetState(msg, session_id):