apps.debug: implement DebugLinkDecision

pull/25/head
Jan Pochyla 8 years ago
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…
Cancel
Save