You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/trezorlib/messages/PublicKey.py

20 lines
424 B

# Automatically generated by pb2py
from .. import protobuf as p
from .HDNodeType import HDNodeType
class PublicKey(p.MessageType):
MESSAGE_WIRE_TYPE = 12
FIELDS = {
1: ('node', HDNodeType, 0), # required
2: ('xpub', p.UnicodeType, 0),
}
def __init__(
self,
node: HDNodeType = None,
xpub: str = None
) -> None:
self.node = node
self.xpub = xpub