1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-01 11:01:00 +00:00
trezor-firmware/src/apps/wallet/__init__.py

13 lines
325 B
Python
Raw Normal View History

from trezor.dispatcher import register
from trezor.messages.GetPublicKey import GetPublicKey
def dispatch(message):
if message.message_type is GetPublicKey:
from .layout_get_public_key import layout_get_public_key
return layout_get_public_key(message)
def boot():
register(GetPublicKey, dispatch)