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:
parent
39b3ecb224
commit
3373ecf128
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user