1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 23:48:12 +00:00

apps.debug: implement DebugLinkDecision

This commit is contained in:
Jan Pochyla 2016-11-15 13:48:52 +01:00
parent 39b3ecb224
commit 3373ecf128

View File

@ -5,8 +5,9 @@ from trezor.messages.wire_types import \
async def dispatch_DebugLinkDecision(msg, session_id): async def dispatch_DebugLinkDecision(msg, session_id):
# TODO: apply button decision from msg.yes_no from trezor.ui.confirm import CONFIRMED, CANCELLED
pass from ..common.confirm import future
future.resolve(CONFIRMED if msg.yes_no else CANCELLED)
async def dispatch_DebugLinkGetState(msg, session_id): async def dispatch_DebugLinkGetState(msg, session_id):