mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-01 11:01:00 +00:00
13 lines
325 B
Python
13 lines
325 B
Python
|
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)
|