mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-30 11:28:21 +00:00
6efe4e4418
drop `from future import` in __init__.py, import just the name, not *
12 lines
268 B
Python
12 lines
268 B
Python
# Automatically generated by pb2py
|
|
from .. import protobuf as p
|
|
from .HDNodeType import HDNodeType
|
|
|
|
|
|
class PublicKey(p.MessageType):
|
|
FIELDS = {
|
|
1: ('node', HDNodeType, 0), # required
|
|
2: ('xpub', p.UnicodeType, 0),
|
|
}
|
|
MESSAGE_WIRE_TYPE = 12
|